Question about The PHP Group PHP
Are you saying you're switching from a session variable to a cookie?
delete the cookie altogether by setting the expiration to a time in the past (negative value). don't forget that you'll then have to reload a page in order to reread the cookie data.
so if you have a cookie with a logged_in value = true, and you set it to logged_in value = false, you're still logged_in = true, until you reload that page (or another page) and it rereads the cookie data and now determines that logged_in = false.
make sense? write the logged_in=false to the cookie, then force a url redirection to reload the page is my suggestion.
Posted on Apr 04, 2009
a 6ya Technician can help you resolve that issue over the phone in a minute or two.
Best thing about this new service is that you are never placed on hold and get to talk to real repair professionals here in the US.
click here to Talk to a Technician (only for users in the US for now) and get all the help you need.
Posted on Jan 02, 2017
Tips for a great answer:
Mar 23, 2011 | Facebook Social Network
Mar 19, 2011 | Facebook Social Network
Mar 03, 2011 | Facebook Social Network
Feb 27, 2011 | Facebook Social Network
Feb 11, 2011 | Facebook Social Network
Feb 03, 2011 | Facebook Social Network
Jan 02, 2011 | Facebook Social Network
Sep 24, 2010 | Facebook Social Network
Dec 30, 2008 | The PHP Group PHP
Oct 06, 2016 | The PHP Group PHP
143 people viewed this question
Usually answered in minutes!
Step 2: Please assign your manual to a product: