Connecting Tech Pros Worldwide Help | Site Map

Prevent users being kicked off

 
LinkBack Thread Tools Search this Thread
  #1  
Old October 17th, 2006, 07:55 PM
turnitup
Guest
 
Posts: n/a
Default Prevent users being kicked off

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, 08:55 PM
.:[ ikciu ]:.
Guest
 
Posts: n/a
Default 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();


 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.