954,157 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

setting all session variable to null(hel pls)

Good day.!

How to clear all session variable when they click back on the internet explorer.?Assuming that i am on info.php page, when i click back on that page, all session on the whole site will be set to null.

Pls help if this is possible.

Thank you.God bless on this mother Earth.

blocker
Posting Whiz in Training
232 posts since Jan 2009
Reputation Points: 7
Solved Threads: 1
 

Although I couldn't understand all of that question(s) to empty all sessions just use the following:

$_SESSION=array();
cwarn23
Occupation: Genius
Team Colleague
3,033 posts since Sep 2007
Reputation Points: 413
Solved Threads: 259
 

or use the built in method

session_destroy();
Fungus1487
Posting Pro in Training
459 posts since Apr 2007
Reputation Points: 66
Solved Threads: 56
 

or use the built in method

session_destroy();

Thank you very very much.this help me so much.

blocker
Posting Whiz in Training
232 posts since Jan 2009
Reputation Points: 7
Solved Threads: 1
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You