Re: [PHP-WIN] Database Invalid

2006-05-02 Thread Stut
Harpreet wrote: 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

Re: [PHP-WIN] Database Invalid

2006-05-01 Thread Armando
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 d

RE: [PHP-WIN] Database Invalid

2006-05-01 Thread Harpreet
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