Search Help Board

PHP Articles
PHP Help
Bulletin Board

PHP Manual (NEW!)
First Time PHP'ers
Help with programming
Sql assignment help
PHP Homework Help

C# Help
RFP Direct

 Re: is this normal?
Author:  (203.106.219.---)
Date:   02-29-04 16:07 give a more detail situation..
as for the system i'm developing, after the session_start() on every page, i'll check the session registered...

if(!session_is_registered('user_id')) {
header ("location:/pageexpired.php");
else {
//the rest of the code

this actually to ensure that if the user has signed out or logged off, perhaps they can click on the back button on the menu bar, but as they click on the links in the webpage, they will automatically link to the pageexpired.php...i make like this bcoz i'm not sure how to enable the back button after a user has logoff.

and if i use the session_unregister(), it seems that the 'user-id' is still registered in the session. This is told by the accessability that the user still has even after clicking the 'logoff' button. Do you have any idea what setting(s) went wrong?..

Btw, i'll try to minimize the timeout value for the session. Will c n inform the result from it.

Thanks in advance.

 Topics Author  Date
 is this normal?  new
eon 02-27-04 16:39 
 Re: is this normal?  new
bastien 02-28-04 11:03 
 Re: is this normal?  new
eon 02-29-04 16:07 
Go to Top  |  Go to Topic  |  Flat View  |  Search 
New Topic
 Reply To This Message
 Your Name:
 Your Email:
Email replies to this thread, to the address above.

Provided By