Search the web
Sign In
New User? Sign Up
in-phpug · Indian PHP User Group
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Session timeout   Message List  
Reply | Forward Message #3251 of 3262 |

Hi,
My site abruptly at times closses session, ie the user logs out automatically
even if he is refreshng and browsing the site,

I do not know the reason why? as the time at times is less than 1 min and at
times the time to logout is a hour, i know something is misconfigured but i do
not know what?


Also I need to have a checkbox like 'Remember me' ie keep the user logged in, i
know something to do with cookies, but again manage session with cookies , how?

Pl. help.

--
Regards,
Abhishek jain







Tue Jun 30, 2009 11:50 am

ejaincom
Offline Offline
Send Email Send Email

Forward
Message #3251 of 3262 |
Expand Messages Author Sort by Date

Hi, My site abruptly at times closses session, ie the user logs out automatically even if he is refreshng and browsing the site, I do not know the reason why?...
abhishek jain
ejaincom
Offline Send Email
Jun 30, 2009
12:12 pm

Check to see if your server time is correct and is set to UTC. Since PHP Sessions are handled via cookies, they expire prematurely if a wrong time is set....
Rohan Prabhu
rohan_gnome
Offline Send Email
Jun 30, 2009
3:25 pm

Hi, My server time is correct and set to IST. -- Regards, Abhishek jain ________________________________ From: Rohan Prabhu <rohan@...> To:...
abhishek jain
ejaincom
Offline Send Email
Jul 2, 2009
9:06 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help