Path: csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.049 X-Spam-Evidence: '*H*': 0.90; '*S*': 0.00; 'ideally': 0.04; 'cookie': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'question.': 0.14; '6:52': 0.16; 'afterwards': 0.16; 'already,': 0.16; 'cookie,': 0.16; 'pressing': 0.16; 'reload': 0.16; 'reproduce': 0.16; 'return,': 0.16; 'subject:when': 0.16; 'followed': 0.16; 'sender:addr:gmail.com': 0.17; 'wrote:': 0.18; 'value.': 0.19; '>>>': 0.22; 'cc:addr:python.org': 0.22; 'load': 0.23; 'header :User-Agent:1': 0.23; 'error': 0.23; 'passes': 0.24; 'please?': 0.24; 'replace': 0.24; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; 'handling': 0.26; 'gets': 0.27; 'header:In-Reply-To:1': 0.27; 'testing': 0.29; "doesn't": 0.30; 'code': 0.31; 'checked': 0.32; 'checking': 0.33; 'subject:from': 0.34; 'problem': 0.35; 'something': 0.35; 'etc': 0.35; 'one,': 0.35; 'test': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'should': 0.36; 'project': 0.37; 'server': 0.38; 'mine': 0.38; 'work?': 0.38; 'issue': 0.38; 'pm,': 0.38; 'unable': 0.39; 'either': 0.39; 'how': 0.40; 'skip:u 10': 0.60; 'mentioned': 0.61; 'browser': 0.61; "you're": 0.61; 'back': 0.62; 'address': 0.63; 'happen': 0.63; 'to:addr:gmail.com': 0.65; '8bit%:92': 0.71; '8bit%:100': 0.72; 'to,': 0.72; 'browser.': 0.78; 'topic,': 0.81; 'have?': 0.84; 'here!': 0.84; 'isolate': 0.84; 'subject:gets': 0.84; 'yours': 0.88; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=UP7ucRLmQHiOi6trCZFvgS9Jie4OnaplyK9gmR6Hl7U=; b=ynRNyrEwX1rcbL0/ZdPRQB/4h6yC9gTkU/Y9uVYyeUDMth4T95kIUT+9TScxNPM4sB 8eUBoyVhAfd5lY7wLf/Av8xulLojsTfABW5Z1Bd/tP0/bpvHWTmZItZtpHclI7DCcVjz yn+sN7NK906xdE0ENP1Nt7u+V2xtuVdkezIBR56DkD5HIPwx8ihaPuaeGgAC6oynajhI D26kblp+pi3ROuoe0btoxCdq2kXpjb1c63doJI9m+YI8Yn6Pgq0wBpS6t7bKUwwiYEPA B8HgdKy4RnQaSpMYlxpnsyhfwuN7xCNRK5B1vMRJP2/102NWB/t3/gCqoDBHcNQXWB83 R4Lw== X-Received: by 10.224.36.201 with SMTP id u9mr7373021qad.76.1381276653910; Tue, 08 Oct 2013 16:57:33 -0700 (PDT) Sender: Ned Batchelder Date: Tue, 08 Oct 2013 19:57:33 -0400 From: Ned Batchelder User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: =?UTF-8?B?zp3Or866zr/PgiDOkc67zrXOvs+Mz4DOv8+FzrvOv8+C?= Subject: Re: Cookie gets changed when hit comes from a referrer References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Cc: python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 46 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1381276656 news.xs4all.nl 15901 [2001:888:2000:d::a6]:54692 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:56455 On 10/8/13 6:52 PM, Νίκος Αλεξόπουλος wrote: > Στις 8/10/2013 10:29 μμ, ο/η Denis McMahon έγραψε: >> On Tue, 08 Oct 2013 19:04:37 +0300, Νίκος Αλεξόπουλος wrote: >> >>> Can you help me with this particuler problem please? >> >> Unfortunately I can't, because I am unable to reproduce the problem you >> describe. >> >> When I load my test page in the browser, then replace it with something >> else by entering an address in the address bar and pressing return, then >> use the back link followed by the reload one, I am back at my test page >> with the original cookie value. >> >> Of course, this is using my cookie etc code and mechanisms, and not >> yours .... >> >> Now, either it's an issue in your python implementation of cookie >> handling which isn't happening in my implementation, or it's >> something to >> do with the way that your system passes data around (cgi) that doesn't >> happen in mine (mod_wsgi), or it's happening in the browser you're >> testing in, but not in my browser. >> >> Have you checked the cookie jar in the browser to see what value the >> cookie has? Is that the value you think it should have? Note that >> checking the cookie jar is a browser topic, not a python topic, so if >> you >> don't know how to do that you're going to have to find the right >> place to >> ask, WHICH IS NOT HERE! >> >> Ideally you need to check what the server thinks it's setting the >> cooking >> to, what the browser thinks it received as the cookie, and what the >> server gets back afterwards to work out where the error is happening. > > Is there something i can try to isolate the problem and make it work? > By whole counters project is based on cookie handling now.... > > Nikos, as a few people have mentioned already, this is no longer a Python question. You need to find other avenues of support. --Ned.