Asp.net Sessions Getting Crossed / Mixed Up

后端 未结 7 784
北恋
北恋 2020-12-04 20:19

Few weeks ago we had one of our customers contacting us saying that sometimes when he creates an activity it gets created under someone else\'s name!

We did some t

7条回答
  •  鱼传尺愫
    2020-12-04 20:49

    if removing the <%@ OutputCache NoStore="true" Duration="1" VaryByParam="*" at all (in all ascx files being in the line from Master to aspx too !!!) prevented from cross-sessions. having only one ascx with outputcache directive loaded, cross-sessions occured.

    It did not matter in my case if using sessionstat InProc ore StateServer, if having cookieless or cookie sessions.

提交回复
热议问题