Jump to content

Cant seem to unlink a session variable


bob_the _builder

Recommended Posts

Hey,

 

I have set $_SESSION['cart']

 

Array ( [sDBVVHR] => 1 [bMNHYR] => 1 )

 

those are in the cart array.. When I send the variable "BMNHYR" across the url.. and try to unset the matching session variable, I cant seem to get it to work..

 

How should it be formated?

 

Thanks

Link to comment
https://forums.phpfreaks.com/topic/268419-cant-seem-to-unlink-a-session-variable/
Share on other sites

First step is to finding out exactly what the variables contain, and verify that it is what you assume/expect it to be.

Second step is to actually post all relevant information, if you want help, so that people don't have to waste time pulling your teeth to get the information they need. You should have been here long enough to know this by know, to be honest...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.