I am new to ASP, I am facing a problem where user selects two separate links , but data shown is same. when i clear off the cookies respective data is shown. Also i checked this when cookies are disabled in a browser, distinct data is displayed which
is proper. Is there any way to do this in my project itself???
In some further reasearch i found that this can be acheived by configuring web.config file by adding below element
Is it right way to acheive this?
Thank you, When i changed cookiless to true, my web site didn't run. Does it means my web site has dependencies on cookies? How to check them?
Actually session stores its value to cookie finally, if you set cookieless to true than you can see that your page URL will have a querystring which is than used by session, which is in an encrypted form.
Hi Shockwave123,
According to your description, I think your question isn’t caused by cookies, may be caused by cache.
the IE browser has a cache pattern, when IE receive tow same URL request, it will obtain the local data to response to client instead of sent the request to server.
Please try put the following code into the header tag:
If you want to read more information about cache, please try to refer to:
# Cache Notifications (Windows Server AppFabric Caching)
http://msdn.microsoft.com/en-us/library/ee808091(v=azure.10).aspx
Best Regards,
Terry Guo
沒有留言:
張貼留言