Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #97963

Re: working with cookies

Path csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!nntp.club.cc.cmu.edu!micro-heart-of-gold.mit.edu!bloom-beacon.mit.edu!bloom-beacon.mit.edu!panix!gordon
From John Gordon <gordon@panix.com>
Newsgroups comp.lang.python
Subject Re: working with cookies
Date Tue, 27 Oct 2015 01:41:28 +0000 (UTC)
Organization PANIX Public Access Internet and UNIX, NYC
Lines 17
Message-ID <n0mko7$khp$1@reader1.panix.com> (permalink)
References <b538e4ae-2f64-46b6-ac21-f0959f7cd4a8@googlegroups.com> <n0m1n4$qu7$1@reader1.panix.com> <f4e741a7-f47d-457a-babb-d98d15c9aba3@googlegroups.com> <n0mc3q$o3j$1@reader1.panix.com> <f55b1ed4-7dcf-47e9-906b-085d72b98f92@googlegroups.com>
NNTP-Posting-Host panix1.panix.com
X-Trace reader1.panix.com 1445910088 21049 166.84.1.1 (27 Oct 2015 01:41:28 GMT)
X-Complaints-To abuse@panix.com
NNTP-Posting-Date Tue, 27 Oct 2015 01:41:28 +0000 (UTC)
User-Agent nn/6.7.3
Xref csiph.com comp.lang.python:97963

Show key headers only | View raw


In <f55b1ed4-7dcf-47e9-906b-085d72b98f92@googlegroups.com> Jeremy Leonard <jrmy.lnrd@gmail.com> writes:

> As of yet I haven't been using a framework per say, just straight cgi.
> I've been learning as I go. I was going to try and do as much low level
> as possible and work my way up to using a framework. At some point I'll
> probably learn a framework, but wanted to start with the basics.

If you're doing straight CGI yourself, then you must be handling the
cookies yourself also.  There must be someplace in your application
where you store the collection of cookies to be included in the response.
If you want to clear a cookie, just remove it from the collection.

-- 
John Gordon                   A is for Amy, who fell down the stairs
gordon@panix.com              B is for Basil, assaulted by bears
                                -- Edward Gorey, "The Gashlycrumb Tinies"

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

working with cookies Jeremy Leonard <jrmy.lnrd@gmail.com> - 2015-10-26 12:26 -0700
  Re: working with cookies John Gordon <gordon@panix.com> - 2015-10-26 20:16 +0000
    Re: working with cookies Jeremy Leonard <jrmy.lnrd@gmail.com> - 2015-10-26 15:57 -0700
      Re: working with cookies John Gordon <gordon@panix.com> - 2015-10-26 23:14 +0000
        Re: working with cookies Jeremy Leonard <jrmy.lnrd@gmail.com> - 2015-10-26 17:30 -0700
          Re: working with cookies John Gordon <gordon@panix.com> - 2015-10-27 01:41 +0000
            Re: working with cookies Jeremy Leonard <jrmy.lnrd@gmail.com> - 2015-10-27 05:11 -0700
              Re: working with cookies Denis McMahon <denismfmcmahon@gmail.com> - 2015-10-28 08:25 +0000
                Re: working with cookies Jeremy Leonard <jrmy.lnrd@gmail.com> - 2015-10-28 12:31 -0700
                Re: working with cookies John Gordon <gordon@panix.com> - 2015-10-28 19:47 +0000

csiph-web