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.

Recommended Answers

All 3 Replies

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

$_SESSION=array();
commented: useful. +1

or use the built in method

session_destroy();
commented: useful +1

or use the built in method

session_destroy();

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.