TinyPortal

Development => Support => Topic started by: waterlover112 on March 04, 2008, 08:55:13 PM

Title: Users Not Staying logged in on TinyPortal when leaving and coming back
Post by: waterlover112 on March 04, 2008, 08:55:13 PM
I have SMF installed with TinyPortal. When I go to the site and login (using the option to remember me forever), it remembers me as being logged in.

The problem is if I leave the site (close internet explorer) and come back to the site. The TinyPortal page says "Welcome, Guest. Please login or register."

But if you click on the 'forum' tab to go to the forums, SMF remembers me as being logged in. Then if I go back to the 'Home' tab, TinyPortal now shows me as logged in again.

What is causing this? Thanks for your help in advance.

Forgot to add my url.

www.cake-theguild.org
Title: Re: Users Not Staying logged in on TinyPortal when leaving and coming back
Post by: waterlover112 on March 04, 2008, 08:57:50 PM
I just noticed that if I close internet explorer and go back to the page by going to the full url, it does not have this problem.

http://www.cake-theguild.org/  - Works and shows me as logged in

http://cake-theguild.org/  - Does not work
Title: Re: Users Not Staying logged in on TinyPortal when leaving and coming back
Post by: Nokonium on March 04, 2008, 09:16:33 PM
You probably have a cookie problem. Delete both lots of cookies from your browser and log in again.
Title: Re: Users Not Staying logged in on TinyPortal when leaving and coming back
Post by: IchBin on March 04, 2008, 09:36:26 PM
Some servers have a problem carrying the ession from http://yoursite.com to http://www.yoursite.com. Make sure you're using the URL that your forum is to browse the forum. If you go to the http://yoursite.com and then click on the http://www.yoursite.com the cookies sometimes have problems.
Title: Re: Users Not Staying logged in on TinyPortal when leaving and coming back
Post by: waterlover112 on March 05, 2008, 03:44:38 PM
Thank you for pointing me in the correct direction. I changed the Main url in the settings to omit the www.  So now the cookie is working correctly no matter what url format I use. Thanks again :)