Re: Database Invalid

From: Date: Tue, 02 May 2006 05:02:22 +0000
Subject: Re: Database Invalid
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-26879@lists.php.net to get a copy of this message
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@crispincorp.com] Sent: Monday, May 01, 2006 2:23 PM To: php-windows@lists.php.net Subject: [PHP-WIN] 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


« previous php.windows (#26879) next »