0

I am setting a cookie's expiration time 10 mins which is working fine in local system but on server, it's not working.

Cœur
  • 37,241
  • 25
  • 195
  • 267
user474089
  • 45
  • 1
  • 2
  • its not working at all ? or its not keep 10min ? If its not working at all check the cookies settings on web.config and make sure for the correct domain value – Aristos Oct 13 '10 at 06:59
  • Can you show relevant parts of your code? Are you setting the cookie manually? web.config? – Darin Dimitrov Oct 13 '10 at 07:13

2 Answers2

0

have u check global IIS setting? if u set your app to be more than global setting, then the setting will not effect.

Bonshington
  • 3,970
  • 2
  • 25
  • 20
0

Did you try this ASP.NET cookie expiration time is always 1/1/0001 12:00 AM

Community
  • 1
  • 1
Subhash Dike
  • 1,836
  • 1
  • 22
  • 37