Re: Feature request: new or old session?
| From: | Teodor Cimpoesu | Date: | Wed, 29 Nov 2000 10:36:49 +0000 |
| Subject: | Re: Feature request: new or old session? | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-39487@lists.php.net to get a copy of this message | ||
Hi Andreas!
On Tue, 28 Nov 2000, Andreas Scherbaum wrote:
>
> Hello all,
>
> is it possible to get a function something like session_timed_out() ?
> So i can see, if i got a session variable in GET/POST, but this session
> already timed out in Php.
> Php would create a new session, if i call session_start(),
> but in some cases i would react on the old (nonexistent) session
> and maybe redirect the user to a error page or again to the start page.
>
I agree, though I would like something like javax.serlvet.http.HttpSession
which has a cool funtion named as simply as `boolean isNew()', returning
true is the client didn't join the session or doesn't know anything about it.
-- teodor