Re: Clearing session
| From: | Carsten Jensen | Date: | Thu, 27 Feb 2014 22:10:58 +0000 |
| Subject: | Re: Clearing session | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-323004@lists.php.net to get a copy of this message | ||
>> Hi Larry, try this:
>>
>> header("Cache-Control: max-age=0")
>>
>> should prevent the caching of your page in developping.
>> If you are finished, set max-age to some decent value.
>
>
> Thanks for the pointer. For now using the anonymous (or incognito as
> chrome calls it) window is working for me.
>
you can also choose to clear the cookies in the browser.
Then you don't need to close the tab you're working on.
in firefox ctrl-shift-del, select (only) cookies and within which
timeframe you want deleted. Chrome probably has something alike.
afair it keeps post data.
/Carsten