[thelist] PHP sessions timing out

charles stuart javascript at enure.net
Thu Apr 28 17:00:47 CDT 2005


Hello,

We came upon this solution:
http://us4.php.net/manual/en/function.session-cache-expire.php

It seems a bit messy, but we're going to combine it with a notice at 
the top of the page regarding the 3 hour limit.

Any 'cleaner' fixes would be appreciated. We're on a shared hosting 
plan, so we can't do much to change the php install defaults (at least 
I think...).



best,

Charles



On Apr 28, 2005, at 1:40 PM, charles stuart wrote:

> Hi,
>
> We have one lengthy page on a non-profit grant application. It's 
> taking people quite a while to fill it out.
>
> From what people say it seems like they're cookies are timing out, and 
> when they submit they are being kicked back out to the login screen. 
> This makes them very mad.
>
> I'm using the following code to set up the session:
>
> <?
> 	session_name('phpses');
> 	session_start();
> ?>
>
> I want the session to time out only if the user quits the browser.
>
>
> Any help is much much appreciated.
>
>
>
> best,
>
> Charles
>
>
>
>
> · · · · · · · · · · · · · · · · · · · · · · ·
> Page Ahead Children's Literacy Program
> 88 Spring Street, Suite 123
> Seattle, WA  98104
> www.pageahead.org
>
> --
>
> * * Please support the community that supports you.  * *
> http://evolt.org/help_support_evolt/
>
> For unsubscribe and other options, including the Tip Harvester
> and archives of thelist go to: http://lists.evolt.org
> Workers of the Web, evolt !
>
>



More information about the thelist mailing list