setting all session variable to null(hel pls)

Thread Solved

Join Date: Jan 2009
Posts: 125
Reputation: blocker is an unknown quantity at this point 
Solved Threads: 0
blocker's Avatar
blocker blocker is offline Offline
Junior Poster

setting all session variable to null(hel pls)

 
0
  #1
Mar 22nd, 2009
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.
Reply With Quote Quick reply to this message  
Join Date: Sep 2007
Posts: 1,542
Reputation: cwarn23 has a spectacular aura about cwarn23 has a spectacular aura about cwarn23 has a spectacular aura about 
Solved Threads: 137
cwarn23's Avatar
cwarn23 cwarn23 is offline Offline
Posting Virtuoso

Re: setting all session variable to null(hel pls)

 
1
  #2
Mar 22nd, 2009
Although I couldn't understand all of that question(s) to empty all sessions just use the following:
  1. $_SESSION=array();
Try not to bump 10 year old threads as it can be really annoying.
http://syntax.cwarn23.net/
Smilies: ^_* +_+ v_v -_- *~*`
My favourite PC. - Oopy Doopy Do 2U2!
Reply With Quote Quick reply to this message  
Join Date: Apr 2007
Posts: 439
Reputation: Fungus1487 is on a distinguished road 
Solved Threads: 50
Fungus1487's Avatar
Fungus1487 Fungus1487 is offline Offline
Posting Pro in Training

Re: setting all session variable to null(hel pls)

 
1
  #3
Mar 22nd, 2009
or use the built in method

  1. session_destroy();
When Autumn Falls [ http://www.whenautumnfalls.co.uk ] &&
Designdotworks [ http://www.designdotworks.co.uk ] Web / Graphic / Software Design
Reply With Quote Quick reply to this message  
Join Date: Jan 2009
Posts: 125
Reputation: blocker is an unknown quantity at this point 
Solved Threads: 0
blocker's Avatar
blocker blocker is offline Offline
Junior Poster

Re: setting all session variable to null(hel pls)

 
0
  #4
Mar 22nd, 2009
Originally Posted by Fungus1487 View Post
or use the built in method

  1. session_destroy();
Thank you very very much.this help me so much.
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:



Other Threads in the PHP Forum


Views: 503 | Replies: 3
Thread Tools Search this Thread



Tag cloud for PHP
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC