There's ways. A really simple way (though not necessarily the right one,
or the only one) would be to just use an SSI that gets included at the
top of each page it's required to be on to check for the validity of a
session... if OK proceed, if not, punt to login.
Armando
Harpreet wrote:
I did not get any replies , I was wondering if you guys needed more
info or the question is not clear. Is there a way to check when a
session variable is ready to expire and rather then it breaking
connection to database give a message or take the user to login page
Please help
Regards
Harpreet
-----Original Message-----
From: Harpreet [mailto:harpreet@xxxxxxxxxxxxxxx]
Sent: Monday, May 01, 2006 2:23 PM
To: php-windows@xxxxxxxxxxxxx
Subject: Database Invalid
If a Session is left for an hour or so, the message "Database Invalid"
will be displayed on the next attempt to navigate to a page. Would it
be possible to jump back to the login page? Or better still, display a
popup with the text "Session has expired, pleas log in". When OK is
pressed we would go back to the login screen.
Let me know if any one has nay ideas.
Regards
Harpreet Kaur
--
PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit:
http://www.php.net/unsub.php
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php