Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.mixmin.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed4.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: UNSURE 0.209 X-Spam-Level: ** X-Spam-Evidence: '*H*': 0.61; '*S*': 0.03; 'cookie': 0.09; 'cc:addr :python-list': 0.11; '12:04': 0.16; 'cookies': 0.16; 'domains.': 0.16; 'example.com': 0.16; 'subject:when': 0.16; 'wrote:': 0.18; 'pointed': 0.19; '>>>': 0.22; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'defined': 0.27; 'header:In-Reply-To:1': 0.27; 'message-id:@mail.gmail.com': 0.30; 'url:mailman': 0.30; 'code': 0.31; 'probably': 0.32; 'url:python': 0.33; 'subject:from': 0.34; 'but': 0.35; 'received:google.com': 0.35; 'google': 0.35; 'url:listinfo': 0.36; 'url:org': 0.36; 'pm,': 0.38; 'url:mail': 0.40; 'how': 0.40; 'identify': 0.61; 'browser': 0.61; 'first': 0.61; 'different': 0.65; 'to:addr:gmail.com': 0.65; 'within': 0.65; '8bit%:92': 0.71; '8bit%:100': 0.72; 'topic,': 0.81; 'again!': 0.84; 'how.': 0.84; 'subject:gets': 0.84; 'joel': 0.91; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=78UwtvxeW9YKA3VqoTYMAk5yJ1auwhCxFykdvgHOIHI=; b=yBL9yORgstHr/0Aencd56nVFhjdXdZcVdw7gzCOZaJ8G/+ItP7sM8+05eCqwzI9JV/ dvfxLOTTQt4Tjf+uwFK+QWf8rcy1SUcH+zd/KkI0oWktL1j3hbCA1XDJdHBjPcR5ouPH 2sCG/WyhGgNnDCQQCTDd19WdHRlZH9rJ0Pzq2qMP4CJHsjFeooKFpno80Z3Iea06rso9 N7szrmXV5L8UR17duRmj1QoVuh9I+I0eFCirVpQKxeYKui1Pj1d5cet0E8e3Oc7cAQmM 3X6LNDdNfAtu01utNCDECT6EDLyqZZHm76nK6/uL/ucztfFnKqRPfAgWobf7t/Jyeqh9 bfuA== MIME-Version: 1.0 X-Received: by 10.205.64.9 with SMTP id xg9mr2590081bkb.30.1381252252332; Tue, 08 Oct 2013 10:10:52 -0700 (PDT) In-Reply-To: References: Date: Tue, 8 Oct 2013 13:10:52 -0400 Subject: Re: Cookie gets changed when hit comes from a referrer From: Joel Goldstick To: =?UTF-8?B?zp3Or866zr/PgiDOkc67zrXOvs+Mz4DOv8+FzrvOv8+C?= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Mailman-Approved-At: Tue, 08 Oct 2013 20:25:40 +0200 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: 29 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1381256741 news.xs4all.nl 15886 [2001:888:2000:d::a6]:44907 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:56439 On Tue, Oct 8, 2013 at 12:04 PM, =CE=9D=CE=AF=CE=BA=CE=BF=CF=82 =CE=91=CE= =BB=CE=B5=CE=BE=CF=8C=CF=80=CE=BF=CF=85=CE=BB=CE=BF=CF=82 wrote: > =CE=A3=CF=84=CE=B9=CF=82 8/10/2013 6:55 =CE=BC=CE=BC, =CE=BF/=CE=B7 Denis= McMahon =CE=AD=CE=B3=CF=81=CE=B1=CF=88=CE=B5: > >> On Tue, 08 Oct 2013 13:04:34 +0300, =CE=9D=CE=AF=CE=BA=CE=BF=CF=82 =CE= =91=CE=BB=CE=B5=CE=BE=CF=8C=CF=80=CE=BF=CF=85=CE=BB=CE=BF=CF=82 wrote: >> >>> I use this code to retrive or set a cookie to the visitor's browser if >>> present and identify him bu it. >> >> Browser cookies have been defined and around for a very long time. If you google "browser cookie tutorial" you can learn how they work -- probably within an hour!. This will help you find your solution The first poster pointed out that www.example.com and example.com can be considered different domains. You can make a cookie work for both but you need to understand cookies to learn how. This is off topic, ... again! > https://mail.python.org/mailman/listinfo/python-list --=20 Joel Goldstick http://joelgoldstick.com