Click here to Skip to main content
15,888,984 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am using Login control but its Remember me option is not working. I have set its property remembermeset=true.

If my website remains inactive (i.e. no request sent to server) for 5 min it redirects me to login page.

Someone told me about cookies but i don't know how to use them with login control. I am using forms for authentication and Access DB for membership data.
Posted
Updated 9-Apr-11 0:50am
v2
Comments
Sandeep Mewara 9-Apr-11 6:48am    
What timeout have you set for your FormsAuthentication?
Billzz 9-Apr-11 6:54am    
<authentication mode="Forms">
<forms loginUrl="Login.aspx" timeout="120" slidingExpiration="true" />

Hope this[^] might help you.
 
Share this answer
 
you can set cookie on your page
 
Share this answer
 
Comments
Monjurul Habib 10-Apr-11 11:45am    
what does that mean? please clarify.
http://stackoverflow.com/questions/3839851/disable-auto-logout-feature-in-asp-net[^]
ASP.NET Forms Authentication Sample

I hope the above information will be helpful. If you have more concerns, please let me know.
 
Share this answer
 
v2

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