Connecting Tech Pros Worldwide Forums | Help | Site Map

Prevent users being kicked off

turnitup
Guest
 
Posts: n/a
#1: Oct 17 '06
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?

.:[ ikciu ]:.
Guest
 
Posts: n/a
#2: Oct 17 '06

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