Re: Lost $_SESSION in Google Chrome [message #178622 is a reply to message #178617] |
Fri, 13 July 2012 08:58   |
Arno Welzel
Messages: 317 Registered: October 2011
Karma:
|
Senior Member |
|
|
Am 12.07.2012 06:00, schrieb Jerry Stuckle:
> On 7/11/2012 1:36 PM, Arno Welzel wrote:
>> Erwin Moller, 11.07.2012 16:39:
>>
>>> On 7/11/2012 3:44 PM, Silver Moonstone wrote:
>>>> On Tuesday, July 10, 2012 2:32:28 PM UTC+5:30, (unknown) wrote:
>>>> > hello,
>>>> >
>>>> > my local Google Chrome loses session on every page request. I tested
>>>> > with:
>>>> >
>>
>> [Session seems not to work with local webserver]
>>
>>>> try clearing the browser cache.
>>>> it sometimes happens because chrome fetches the page from the cache.
>>>>
>>>
>>> That may be true, but it is a poor solution since you cannot expect your
>>> visitors to do the same in order to use the site.
>>
>> But you could ensure, that caching will not happen at all by sending the
>> appropriate headers.
>>
>>
>
> Incorrect. Information sent in the headers is a suggestion, not a
> requirement. Browsers are free to ignore things like cache control (and
> almost anything else).
Yes, you're right. But at least the chance that caching will not happen
is much higher when sending the appriopriate headers.
--
Arno Welzel
http://arnowelzel.de
http://de-rec-fahrrad.de
|
|
|