Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Feb 2002
Posts: 91
Journeyman
Journeyman
Offline
Joined: Feb 2002
Posts: 91
Every so often, when I return to ThreadsDev I am no longer logged in.

I do have 'remember me' checked.

I see no pattern, seems like it happens about once a week, but don't quote me on that.


-------------
Youuuuuuuuuuu Rang?
Sponsored Links
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
It's possible we've had some cookie changes in all the upgrading


- Allen wavey
- What Drives You?
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
OK - alot of my users complained of this.

They would be logged in and remembered at www.mysite.com.

But then they would revisit to simply mysite.com (without the www) and you are not logged in. Then they would clikc a link.... like to login.... and the config file then routes them to www.mysite.com (with the www) and thus up comes their my home page.

Don't know if that's similar to what you've experienced. But I think to those cookies... there is a difference with and without the www.

If I come back here to simply ubbdev.com I am logged out.
I must come back to www.ubbdev.com

Don't know if that helped any... hope it did. Something to try anyway.
I had to tell all my usrs to update their bookmarks.

Joined: Jun 2002
Posts: 375
Enthusiast
Enthusiast
Offline
Joined: Jun 2002
Posts: 375
I get this here at threadsdev every two weeks or so too. What is the expiration on the cookies set to here?

Joined: May 1999
Posts: 3,039
Guru
Guru
Offline
Joined: May 1999
Posts: 3,039
About 2 weeks Not sure if it was set to that for a reason here or not, so I'll let Allen change it if not.


UBB.threads Developer
Sponsored Links
Joined: Jun 2001
Posts: 3,273
That 70's Guy
That 70's Guy
Offline
Joined: Jun 2001
Posts: 3,273
Just an idea... lol kinda neat, maybe not...

How about having a short expire time, such as 2 or 3 days or how ever long configured, but as the person browses keep updating the cookie's expiration time to be how ever long so that if the user is visiting ever couple of days they are always logged in but if they should laps for more than 3 days the cookie expires?


/me continues on with what ever it was he was doing before...

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
That would explain why i have to log in occasionally

OK, moving to.. one year sound ok?


- Allen wavey
- What Drives You?
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
I added a zero to the end, so ~20 weeks or so


- Allen wavey
- What Drives You?
Joined: Apr 2002
Posts: 1,768
Addict
Addict
Offline
Joined: Apr 2002
Posts: 1,768
A problem with re-setting cookies is that it can be annoying if you have your browser or other application set up to warn you about cookies.

In a script I wrote, I used the following technique:

Cookies were set with relatively short expiration dates, about 45 days. Each cookie's value included a timestamp representing the "set-time". Each time a cookie was read, if its set-time was more than 30 days ago, the cookie would be re-set.

I also reduced the number of cookies required by storing several values within each cookie. Most web applications don't bother doing this.

Joined: Jun 2001
Posts: 3,273
That 70's Guy
That 70's Guy
Offline
Joined: Jun 2001
Posts: 3,273
I have found that most of the applications I have used that I could set to "warn" me of cookies being set also allowed me to add various sites/domains as "trusted" or "allowed" so that the warnings were no longer generated.

A person would have to be insane to browse the net with such warnings enabled... cookies are everywhere man... just like Elvis... LoL


hmmm cept for Micheal J Fox, he probably has cookies in him at times but from what I'm told he's got no Elvis in him... LOLOL ok coffee is getting to me...

Sponsored Links
Joined: Oct 2000
Posts: 2,223
Veteran
Veteran
Offline
Joined: Oct 2000
Posts: 2,223
My favorite song!!!!!!!!!!!!!!!!!!!!!!!!!

Michael J. Fox is the evil Anti-Elvis


Picture perfect penmanship here.

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)