I am setting a cookie's expiration time 10 mins which is working fine in local system but on server, it's not working.
Asked
Active
Viewed 241 times
0
-
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 Answers
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
-
I have checked global IIS setting which is fine, Can you tel me some other solution.Vinay – user474089 Oct 13 '10 at 06:04
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