|
|
|
Forum Newbie
      
Group: Customers
Last Login: 08/03/2006 22:02:22
Posts: 10,
Visits: 33
|
|
| Hi everyone, I have gotten quite a few reports that my visitors keep getting logged out shortly after they log in. I just check the remember me box when I log in and that seems to take care of the problem, but for people that don't want to do that, are often out of luck. Anyone else experiencing this problem? -Steve
|
|
|
|
|
Supreme Being
      
Group: Customers
Last Login: 01/09/2008 01:08:26
Posts: 693,
Visits: 2,417
|
|
|
|
|
|
IF.NET 4.2 Coming Soon
      
Group: Administrators
Last Login: 2 days ago @ 14:57:33
Posts: 1,949,
Visits: 3,002
|
|
| Hi Steve, You can increase the duration the forms authentication ticket is held on the users computer if they don't choose to automatically login within the Web.Config file. Within RC1 you can increase the duration for this cookie by modifying the timeout attribute within the sessionStage tag. With the final v4.0 release this setting will be obtained from the forms tag within the authentication elemenets. Could i suggest increase this to say 40 to ensure users remain logged in for 40 minutes. Please keep me posted.
 Kindest Regards,
Ryan Healey Director / Developer
Explore our products... http://demos.instantasp.co.uk/
|
|
|
|
|
Forum Newbie
      
Group: Customers
Last Login: 08/03/2006 22:02:22
Posts: 10,
Visits: 33
|
|
| Hi Ryan, I have adjusted the web.config file but it still seems that only after a few minutes people get logged out. Somtimes when I am in the admin section just looking at settings all of a sudden I get kicked out. There also seems to be a lot of exceptions being thrown that were clogging up my mail queue. I forgot to add my email address in the web.config file so now I will be getting them now and will let you know which one keeps comming up. But once again, my users are very with the new software and so am I  -Steve
|
|
|
|
|
Forum Member
      
Group: Customers
Last Login: 29/11/2006 19:27:49
Posts: 47,
Visits: 128
|
|
Just to clarify - I pretty sure that last sentence in the post above should read "users are very pleased...."
|
|
|
|
|
Junior Member
      
Group: Forum Members
Last Login: 09/05/2005 21:05:22
Posts: 35,
Visits: 23
|
|
Just wondering...
Back when TweakXP.com just upgraded to 3.4, I remember asking the admins (Steve & Allan) for "session cookies" which would allow users to remain logged in until the browser is closed. Isn't this possible?
|
|
|
|
|
Supreme Being
      
Group: Customers
Last Login: 14/10/2005 18:52:24
Posts: 93,
Visits: 173
|
|
| Just a wild idea that will test my other post's theory: The code is setting expiration date on the cookie of Now.AddMinutes(session timeout). Now is relative to the server not the client right? how would the cookie know to adjust it to the client's time? Go to InstantASP.Common/Authentication/Authentication.vb line 129 Comment the else statement: 'authCookie.Expires = System.DateTime.Now.AddMinutes(InstantASP.Common.Configuration.AppSettings.SessionTimeOut) Recompile and give it a shot
|
|
|
|
|
Forum Member
      
Group: Customers
Last Login: 29/11/2006 19:27:49
Posts: 47,
Visits: 128
|
|
| This problem continues - and is quite annoying both to us and our members. They are being logged off as they are posting and their posts appear as "by anonymous". It's happening far too frequently and there is no way to get the message to all of them to check the "remember me" box (as you know, we are a busy forum with many members)
|
|
|
|
|