Click here to Skip to main content
14,869,829 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have an issue in authentication cookie experiy date in IE and in other browsers except Firefox
The following is the web.config setting i am using
<forms name=".ASPXFORMSAUTH" timeout="30" defaultUrl="~/Login.aspx"/>
For the above setting it is working fine with firefox the user can login into the website, but in other browsers the user cann't login into the website and i get 401 error.
Then I changed the timeout in web.config as
<forms name=".ASPXFORMSAUTH" timeout="350" defaultUrl="~/Login.aspx"/>
Now the users are able to login into the website in all browsers.
But the problem is authentication cookie expiry time is only an hour in all browsers except Firefox.
can any one please help me on this.
thanks in advance.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900