4, December 2008

How long will a user be logged in ? - webmaster forum

 
Webdigity webmaster forums
This forum shares its ad revenue with its members!
[ Home | Help | Search | Forum's Shop | Archive | Login | Register | Webmaster Directory ]
Webdigity Webmaster Forums  >  Web Development  >  PhP  >  PHP classes @finalwebsites.com  >  Access_user Class (Moderator: Olaf)
Topic: How long will a user be logged in ?
« previous next »
Pages: [1] Print

Author Topic: How long will a user be logged in ?  (Read 522 times)
Atari ST fan
*
Posts: 8
68 credits
Members referred : 0


« on: Dec 19, 2007, 01:09:25 PM »

Hello !

How long will a user be logged in ?

I suppose this depends on the expiration of the cookie which
is set in the login_saver() function: $expire is set to time()+2592000,
this is 30 days.

Using my web-application with access_user, I notice that a user is
logged out after about 1 hour. But why is he logged out when the
cookie is set to 30 days ?

I have many users complaining about that so it is not just me having this problem.
Many users find this annoying  - they have to log in again and again several times a day.

So what can be the reason why a user is logged out after a short time ?


Thank you for your time,

Philipp



Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6486
39748 credits
Members referred : 374


It's time to use PHP5!


« Reply #1 on: Dec 19, 2007, 01:39:09 PM »

hi this are two things the cookie set the time how long the data is stored in the cookie and the the session is handled by php (check your phpinfo)


Last blog : Just a better Internet portal provided by Google
Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=7467
Tags : cookie expire Bookmark this thread : Digg Del.icio.us Dzone more....

Topic sponsors:
Get a permanent link here for $1.99!


Pages: [1] Print 
Webdigity Webmaster Forums  >  Web Development  >  PhP  >  PHP classes @finalwebsites.com  >  Access_user Class (Moderator: Olaf)
Topic: How long will a user be logged in ?
« previous next »
Jump to:
User Area
Welcome, Guest. Please login or register.
Did you miss your activation email?
Dec 04, 2008, 01:08:06 AM





Login with username, password and session length

Donate to our community, and get a permanent link back to your site!

Donate to our community, and get a permanent link back to your site!





Readers

Web Design Gallery · Whois Lookup · Pagerank · Tag Browsing · Lo-fi version · Syndication · Webmaster forum history · Advertise
Developed by HumanWorks © 2005 - 2008 Webdigity webmaster community · sublime directory
Webdigity Webmaster Forums | Powered by SMF 1.0.12. © 2001-2005, Lewis Media. All Rights Reserved.