On 11 October 2003 02:23, Lowell Allen wrote:

> > I'm trying to track down some issues with my site, and am trying to
> > decide if it's a session variable issue. On a random basis, it
> > appears that session vars are being dumped, deleted, or unset, as
> > the site will break. Queries based on session vars don't work,
> > session vars not being displayed, etc. This seems to happen most
> > often after a page has been idle for a couple of minutes and a
> > refresh is done on the page. 
> > 
> > This is on a hosted site. I have checked the configuration settings
> > with phpinfo(); and session support is enabled.
> > 
> > On all pages where I use $_SESSION[<varname>], I have <?php
> > session_start();?>. This has been double checked.
> > 
> > 1) Do session vars timeout, or can they be set to timeout after a
> > certain length of time? 2) Is there anything other than
> > session_start(); that needs to be done when using session vars? 3)
> > What other things can I check for? 
> 
> Most things are explained well by the online manual, and you
> should read and
> re-read the session documentation. That said, I'll also say that the
> documentation on sessions is not as informative as I'd like
> it to be, and I
> still get reports of sessions expiring before they should.

AFAIR, there's lots of extra helpful information about what the php.ini
session settings mean in the distributed php.ini-dist and/or
php-ini-recommended.  If you're tinkering with these settings, you really
need to read, absorb and understand those comments in addition to what's in
the actual manual.

Cheers!

Mike

---------------------------------------------------------------------
Mike Ford,  Electronic Information Services Adviser,
Learning Support Services, Learning & Information Services,
JG125, James Graham Building, Leeds Metropolitan University,
Beckett Park, LEEDS,  LS6 3QS,  United Kingdom
Email: [EMAIL PROTECTED]
Tel: +44 113 283 2600 extn 4730      Fax:  +44 113 283 3211 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to