InstantASP Community Forums
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        


12»»

Users keep getting logged out Expand / Collapse
Author
Message
Posted 05/05/2005 07:48:22
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum 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

Post #6380
Posted 05/05/2005 07:49:03


Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Customers
Last Login: 01/09/2008 01:08:26
Posts: 693, Visits: 2,417
Yes, I'm experiencing the same issue.


..:: Bare ::..
http://www.livingformetal.com
Post #6381
Posted 05/05/2005 13:17:25


IF.NET 4.2 Coming Soon

IF.NET 4.2 Coming SoonIF.NET 4.2 Coming SoonIF.NET 4.2 Coming SoonIF.NET 4.2 Coming SoonIF.NET 4.2 Coming SoonIF.NET 4.2 Coming SoonIF.NET 4.2 Coming SoonIF.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/

Post #6394
Posted 09/05/2005 10:24:10
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum 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

Post #6505
Posted 09/05/2005 14:11:01
Forum Member

Forum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum 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...."
Post #6511
Posted 09/05/2005 21:24:44
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior 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?
Post #6515
Posted 10/05/2005 21:55:52
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme 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

Post #6543
Posted 16/05/2005 06:30:47
Forum Member

Forum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum 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)
Post #6647
Posted 16/05/2005 08:01:18