mayu_bt Posted March 18, 2006 Share Posted March 18, 2006 Hi Peoples,Am unable to unset OR reset OR destroy $_GET variables, that is the ones which are passed to a php file from java script functions. I cannot afford to destroy the whole session variables as I need to have $_SESSION variables for user authentication and other stuffs.I have used unset() function but it failes to unset them!Please help me.. Quote Link to comment Share on other sites More sharing options...
shortj75 Posted March 19, 2006 Share Posted March 19, 2006 please post some code so we can see what you are working with and to see if we can helpor not Quote Link to comment Share on other sites More sharing options...
keeB Posted March 20, 2006 Share Posted March 20, 2006 [!--quoteo(post=356346:date=Mar 19 2006, 06:06 AM:name=shortj75)--][div class=\'quotetop\']QUOTE(shortj75 @ Mar 19 2006, 06:06 AM) [snapback]356346[/snapback][/div][div class=\'quotemain\'][!--quotec--]please post some code so we can see what you are working with and to see if we can helpor not[/quote]The code wouldn't matter. By design you would never want to unset a $_REQUEST, $_GET, $_POST, etc like variables. Think of them as constants. Quote Link to comment Share on other sites More sharing options...
mayu_bt Posted March 20, 2006 Author Share Posted March 20, 2006 Thanks KeeB, I got it! :) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.