Connecting Tech Pros Worldwide Help | Site Map

Prevent users being kicked off

  #1  
Old October 17th, 2006, 08:55 PM
turnitup
Guest
 
Posts: n/a
Dear All,

I have a slight problem, even though I have set up a discrete session
path with write access, and my session files are being set there, users
still get intermittently "kicked off", i.e. navigation from one page to
another can result in the session being reset.

Here is what appears at the top of all my files.

==============

ini_set("session.cache_expire", 3600);
ini_set('session.gc_maxlifetime', 3600);
ini_set("session.cookie_lifetime", 3600);

session_save_path(/blah/blah);
session_set_cookie_params(3600);

session_start();

===============

Any ideas? Surely the garbage collector only deals with expired sessions?
  #2  
Old October 17th, 2006, 09:55 PM
.:[ ikciu ]:.
Guest
 
Posts: n/a

re: Prevent users being kicked off


Hmm turnitup <same@samewrote:
Quote:
Any ideas? Surely the garbage collector only deals with expired
sessions?
localhost or not? if not then check time on the server,
what webbrowser? IE is really sensitive to cookie times.


--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Ikciu | gg: 718845 | yahoo: ikciu_irsa | www: www.e-irsa.pl

2be || !2be $this =mysql_query();


Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
python-dev Summary for 2005-12-16 through 2005-12-31 Tony Meyer answers 0 January 20th, 2006 04:45 AM