Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #11305
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!weretis.net!feeder1.news.weretis.net!feeder.erje.net!xlned.com!feeder5.xlned.com!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <rosuav@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.037 |
| X-Spam-Evidence | '*H*': 0.93; '*S*': 0.00; 'prints': 0.07; 'framework,': 0.09; 'subject:Problem': 0.09; '"none"': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'reload': 0.16; 'wrote:': 0.16; 'assume': 0.22; 'header:In-Reply- To:1': 0.22; 'pm,': 0.24; 'aug': 0.24; 'seeing': 0.28; 'script.': 0.29; 'message-id:@mail.gmail.com': 0.29; 'script': 0.29; 'actually': 0.33; 'there': 0.33; 'to:addr:python-list': 0.33; 'however,': 0.34; 'setting': 0.34; 'fri,': 0.36; 'created': 0.36; 'skip:" 10': 0.36; 'run': 0.37; 'something': 0.37; 'received:google.com': 0.38; 'received:209.85': 0.38; 'subject:: ': 0.39; 'to:addr:python.org': 0.39; 'hit': 0.40; 'where': 0.40; 'your': 0.61; 'surfing': 0.67; "browser's": 0.84; 'consumed': 0.84 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=0KBt+QF7dB9NohrBBY9ba3+YX7AuqejcSNeDku55Ztw=; b=SaG/3cgJt2t+LoNT/xpvcXMd6iWZoD4ghSa3SwnDsdG8hKG0SiooQAg+eN5V4h4WGV 7NhsCo6aHzW7y4XB5k5DyA2J8M6jFzng/7EWSy+pXCu0VphiL2zCx0YaGdjE0lI20tH3 XYZRa2Vkf0COSRyqBQp2uCZ4BtKd3yLbboBOM= |
| MIME-Version | 1.0 |
| In-Reply-To | <SNT144-W494614E354EFD78D3774A5C7250@phx.gbl> |
| References | <SNT144-W494614E354EFD78D3774A5C7250@phx.gbl> |
| Date | Fri, 12 Aug 2011 21:29:25 +0100 |
| Subject | Re: Problem reading HTTP_COOKIE |
| From | Chris Angelico <rosuav@gmail.com> |
| To | python-list@python.org |
| Content-Type | text/plain; charset=ISO-8859-1 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.12 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.2236.1313180967.1164.python-list@python.org> (permalink) |
| Lines | 15 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1313180967 news.xs4all.nl 23978 [2001:888:2000:d::a6]:34130 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.python:11305 |
Show key headers only | View raw
On Fri, Aug 12, 2011 at 4:55 PM, Jack Hatterly <jackhatterly@hotmail.com> wrote: > It prints "None". However, when I look in my browser's cookie jar, there is > a cookie "www.my_site.com" where my_site is the site from which I am surfing > the above script. What gives? > I assume that what you mean is that it prints "None" even after you hit F5 to reload the page, as the first run of the script will never have a cookie. Your script is now not actually setting any cookie. What cookie are you seeing in your browser? It may be something created and consumed by your framework, somewhere. ChrisA
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Problem reading HTTP_COOKIE Chris Angelico <rosuav@gmail.com> - 2011-08-12 21:29 +0100
csiph-web