accessing non-persistent cookies across pages

L S replied to Peter Bromberg at 07-Oct-07 03:38

Hi,

  I am creating non-persistent cookies by not giving the expiration, so that they expire once the user closes his/her browser window. The problem is when traversing from one page to another the cookies are getting lost. They are supposed to persist for the duration. The reason I don't want to set expiration, is because if the call goes to another server on a web farm then it will cause a problem. Correct me, if I am wrong in my explanation. The article that I referred to create my non-persistent cookies is at

http://msdn2.microsoft.com/en-us/library/ms178194(vs.80).aspx

Any insight is greatly appreciated. Please respond at the earliest to pankaja_shankar@ml.com


Click here to sign in and reply. You could earn money via our $500 contest just for being helpful.
  Article Discussion: ASP.NET Cookies FAQ - Peter Bromberg  23-Jul-07 07:41 7:41:21 PM
      accessing non-persistent cookies across pages - L S  07-Oct-07 03:38 3:38:59 PM
      Cookies on Windows 2003 IIS 6 - r v  25-Mar-08 11:46 11:46:03 PM
View Posts