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


12»»

RC2 - Can't stay logged in Expand / Collapse
Author
Message
Posted 24/05/2005 17:44:14


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
I believe this was an earlier posting, but I couldn't find it.

Ever since I installed RC2, I've been unable to stay logged in.  If I log in and check the 'remember me' checkbox... and then sit idle for awhile, I get logged off.

Is this correct?


..:: Bare ::..
http://www.livingformetal.com
Post #6864
Posted 27/05/2005 10:39:42
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
As a general behavior, it is not the correct behavior. Looks like the cookie is expiring.
Post #6924
Posted 27/05/2005 10:45:46


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
I thought so to, but when I look at the cookie, it expires on 12/31/2019.

The cookie from this forum, also expires on 12/31/2019 & this site remembers me.

It's just weird... and very very annoying...

It happens on my RC2 development installs & it happens on my productive RC2 forum...  I've tried this on 2 different pc's at home & on some systems at work...  It's all the same..

Login and check the 'remember me' checkbox... and awhile later.. you are logged off & the forum will not remember you... 

The next time I get logged off... I'm then going to look at the cookie, to see if it still exists or for some reason expired...

I'll update in this thread...


..:: Bare ::..
http://www.livingformetal.com
Post #6925
Posted 27/05/2005 12:30:37
Forum Member

Forum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum Member

Group: Forum Members
Last Login: 03/07/2007 14:57:02
Posts: 56, Visits: 195
I had this problem with RC2 - the way I solved it was by adjusting the forms authentication - originally in the web.config I had the path set to "forums/". I found by changing it to "/forums/" that the login problem went away.

Cristiano Diaz
SLuniverse.com
Post #6929
Posted 27/05/2005 13:21:50


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
I'll take a look at this, although I've never modified the forms authentication code within IF's web.config.

Thanks for the input..


..:: Bare ::..
http://www.livingformetal.com
Post #6932
Posted 27/05/2005 13:52:20
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Moderators
Last Login: 14/10/2006 01:27:14
Posts: 276, Visits: 3,858
That would probably fix it.  The default setting is "/" and would only work if the Forum was installed in the root of the site.  Cristiano's didn't work originally because the existing / is a leading one.

Bare since your's are at domain.com/forum then I bet "/forum/" would work for you.

I think Ryan needs to update the web.config file with a notation that this needs to be changed and most people will never catch it.



Jimmy Stuart

Post #6934
Posted 27/05/2005 14:00:22


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
Thanks Jimmy,

I'll give this is a shot at my first opportunity... which thankfully will be soon


..:: Bare ::..
http://www.livingformetal.com
Post #6936
Posted 27/05/2005 14:16:19


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
Hmmmm... I wonder if this is also giving me my Integration problems:

http://support.instantasp.co.uk/Topic6774-37-1.aspx

If I change IF's to "/forum/"... and my website has "/"... that probably will not work... but then again.. it isn't working the way it is now anyway..

I'll keep you all posted...

I have a large night of development planned...

P.S. For those in the US.. have a great Memorial Day weekend!!!


..:: Bare ::..
http://www.livingformetal.com
Post #6939