Last post Aug 27, 2014 08:53 AM by triqui
Aug 27, 2014 08:37 AM|triqui|LINK
what is the best way to make the session never expires and the user is always connected?
Actually i have this:
<forms protection="All" timeout="59" loginUrl="~/tqn/Login.aspx?usuario=" cookieless="AutoDetect"></forms>
Aug 27, 2014 08:45 AM|AidyF|LINK
You can't have a session that never expires, if you want a site that behaves like this you'll need to code it for yourself. ie persist the data somewhere other than the session, and store the user's "session id" in your own permanent cookie. Next have
a seamless load of the user's state when they begin to browse your site.
As for always logged on, again use "remember me" and set the period for an appropriate length.
Aug 27, 2014 08:53 AM|triqui|LINK
Ok. Thanks, i use the remember me.