[liphp] session timeout problem
Venkatagiriyappa, Veena
[email protected]
Tue, 3 Jun 2003 15:16:57 -0400
Hi Frank,
I am not using cookies. I want my webpage to be purely session driven and
not cookie driven. In that case, do you have a way out to expire the session
after some predefined interval?
-Veena
-----Original Message-----
From: Frank Imburgio
To: [email protected]
Sent: 6/3/2003 3:06 PM
Subject: Re: [liphp] session timeout problem
When you use cookies for session handling, they have an expiration time
in them. We still use a session class created by PHPlib, which was
later adopted by the PHP team and rolled into PHP 4.0. Look here for the
cookie_timeout value, I think it's what you're looking for:
http://us3.php.net/session
So basically, session expiration is built in, and you just need to use
what's there -- I think.
Venkatagiriyappa, Veena wrote:
>Hi,
>I am not very familiar with php session handling. I was wondering how
I
>could write some
>code that would end the session after a certain amount of time. Thus,
if the
>user leaves the window open by mistake, I don't have to worry about a
>foreign user making changes. I have a table in my postgresql database
for
>the session.
>And how can I know if the page is active or inactive?(how to recognise
the
>page reload?). I really need this to work.
>I am hoping to get a fast reply on this
>Veena
>_______________________________________________
>Liphp mailing list
>[email protected]
>https://www.liphp.org/mailman/listinfo/liphp
>
>
_______________________________________________
Liphp mailing list
[email protected]
https://www.liphp.org/mailman/listinfo/liphp