Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news-1.dfn.de!news.dfn.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Piet van Oostrum Newsgroups: comp.lang.python Subject: Re: Cookie aint retrieving when visiting happens from a backlink. Date: Sat, 26 Oct 2013 21:17:57 -0400 Lines: 16 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: individual.net IrEPnbF4sf2puIz0PqMJTg1jOVewUlvNhPbLD2PL0mWPcqFpxm Cancel-Lock: sha1:1qVcH4NphtXeirDXidKmALnMxnQ= sha1:XW3giXCubaiMhXZwq7wh2m59gEA= User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (darwin) Xref: csiph.com comp.lang.python:57692 Νίκος Αλεξόπουλος writes: > There is no set of cookie returned back when visitor comes from a referer. > > Isn't this strange? > No matter if you visit a webpage as a direct hit or via a referer the > cookie on the visitor's browser should have been present. > > But it can only can be found and retrieved as a direct hit and _not_ > from a referrer backlink. What is happening is that the page comes from the browser cache when you do a back link (back button in your browser). So the request doesn't go to your server. I checked this by switching off my internet connection and then trying both the back button and entering the URL in the address bar. So it has nothing to do with referrer, I think. -- Piet van Oostrum WWW: http://pietvanoostrum.com/ PGP key: [8DAE142BE17999C4]