1
1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
4
<title>4.7 Cookie - HTTP State Management</title>
5
<META NAME="description" CONTENT="4.7 Cookie - HTTP State Management">
4
<link rel="STYLESHEET" href="modpython.css" type='text/css'>
5
<link rel="first" href="modpython.html" title='Mod_python Manual'>
6
<link rel='contents' href='contents.html' title="Contents">
7
<link rel='index' href='genindex.html' title='Index'>
8
<link rel='last' href='about.html' title='About this document...'>
9
<link rel='help' href='about.html' title='About this document...'>
10
<LINK REL="next" href="pyapi-sess.html">
11
<LINK REL="prev" href="pyapi-util.html">
12
<LINK REL="parent" href="pythonapi.html">
13
<LINK REL="next" href="pyapi-cookie-classes.html">
14
<meta name='aesop' content='information'>
15
<META NAME="description" CONTENT="Cookie - HTTP State Management">
6
16
<META NAME="keywords" CONTENT="modpython">
7
17
<META NAME="resource-type" CONTENT="document">
8
18
<META NAME="distribution" CONTENT="global">
9
<link rel="STYLESHEET" href="modpython.css">
10
<link rel="first" href="modpython.html">
11
<link rel="contents" href="contents.html" title="Contents">
12
<link rel="index" href="genindex.html" title="Index">
13
<LINK REL="next" href="pyapi-sess.html">
14
<LINK REL="previous" href="pyapi-util.html">
15
<LINK REL="up" href="pythonapi.html">
16
<LINK REL="next" href="pyapi-cookie-classes.html">
19
<title>4.7 Cookie - HTTP State Management</title>
19
22
<DIV CLASS="navigation">
20
23
<table align="center" width="100%" cellpadding="0" cellspacing="2">
22
<td><A href="pyapi-util-funcs.html"><img src="icons/previous.gif"
23
border="0" height="32"
24
alt="Previous Page" width="32"></A></td>
25
<td><A href="pythonapi.html"><img src="icons/up.gif"
26
border="0" height="32"
27
alt="Up One Level" width="32"></A></td>
28
<td><A href="pyapi-cookie-classes.html"><img src="icons/next.gif"
29
border="0" height="32"
30
alt="Next Page" width="32"></A></td>
25
<td><a rel="prev" title="4.6.4 Other functions"
26
href="pyapi-util-funcs.html"><img src='previous.gif'
27
border='0' height='32' alt='Previous Page' width='32'></A></td>
28
<td><a rel="parent" title="4. Python API"
29
href="pythonapi.html"><img src='up.gif'
30
border='0' height='32' alt='Up One Level' width='32'></A></td>
31
<td><a rel="next" title="4.7.1 Classes"
32
href="pyapi-cookie-classes.html"><img src='next.gif'
33
border='0' height='32' alt='Next Page' width='32'></A></td>
31
34
<td align="center" width="100%">Mod_python Manual</td>
32
<td><A href="contents.html"><img src="icons/contents.gif"
33
border="0" height="32"
34
alt="Contents" width="32"></A></td>
35
<td><img src="icons/blank.gif"
36
border="0" height="32"
37
alt="" width="32"></td>
38
<td><A href="genindex.html"><img src="icons/index.gif"
39
border="0" height="32"
40
alt="Index" width="32"></A></td>
35
<td><a rel="contents" title="Table of Contents"
36
href="contents.html"><img src='contents.gif'
37
border='0' height='32' alt='Contents' width='32'></A></td>
38
<td><img src='blank.gif'
39
border='0' height='32' alt='' width='32'></td>
40
<td><a rel="index" title="Index"
41
href="genindex.html"><img src='index.gif'
42
border='0' height='32' alt='Index' width='32'></A></td>
42
<b class="navlabel">Previous:</b> <a class="sectref" href="pyapi-util-funcs.html">4.6.3 Other functions</A>
43
<b class="navlabel">Up:</b> <a class="sectref" href="pythonapi.html">4. Python API</A>
44
<b class="navlabel">Next:</b> <a class="sectref" href="pyapi-cookie-classes.html">4.7.1 Classes</A>
44
<b class="navlabel">Previous:</b>
45
<a class="sectref" rel="prev" href="pyapi-util-funcs.html">4.6.4 Other functions</A>
46
<b class="navlabel">Up:</b>
47
<a class="sectref" rel="parent" href="pythonapi.html">4. Python API</A>
48
<b class="navlabel">Next:</b>
49
<a class="sectref" rel="next" href="pyapi-cookie-classes.html">4.7.1 Classes</A>
47
52
<!--End of Navigation Panel-->
64
69
by most browsers is the original Netscape specification.
65
70
Furthermore, true compliance with IETF standards is actually
66
71
incompatible with many popular browsers, even those that claim to be
67
RFC-compliant. Therefore, this module supports the current common
72
RFC-compliant. Therefore, this module supports the current common
68
73
practice, and is not fully RFC compliant.
76
More specifically, the biggest difference between Netscape and RFC cookies is
77
that RFC cookies are sent from the browser to the server along with their
78
attributes (like Path or Domain). The <tt class="module">Cookie</tt> module ignore those
79
incoming attributes, so all incoming cookies end up as Netscape-style cookies,
80
without any of their attributes defined.
122
134
<table align="center" width="100%" cellpadding="0" cellspacing="2">
124
<td><A href="pyapi-util-funcs.html"><img src="icons/previous.gif"
125
border="0" height="32"
126
alt="Previous Page" width="32"></A></td>
127
<td><A href="pythonapi.html"><img src="icons/up.gif"
128
border="0" height="32"
129
alt="Up One Level" width="32"></A></td>
130
<td><A href="pyapi-cookie-classes.html"><img src="icons/next.gif"
131
border="0" height="32"
132
alt="Next Page" width="32"></A></td>
136
<td><a rel="prev" title="4.6.4 Other functions"
137
rel="prev" title="4.6.4 Other functions"
138
href="pyapi-util-funcs.html"><img src='previous.gif'
139
border='0' height='32' alt='Previous Page' width='32'></A></td>
140
<td><a rel="parent" title="4. Python API"
141
rel="parent" title="4. Python API"
142
href="pythonapi.html"><img src='up.gif'
143
border='0' height='32' alt='Up One Level' width='32'></A></td>
144
<td><a rel="next" title="4.7.1 Classes"
145
rel="next" title="4.7.1 Classes"
146
href="pyapi-cookie-classes.html"><img src='next.gif'
147
border='0' height='32' alt='Next Page' width='32'></A></td>
133
148
<td align="center" width="100%">Mod_python Manual</td>
134
<td><A href="contents.html"><img src="icons/contents.gif"
135
border="0" height="32"
136
alt="Contents" width="32"></A></td>
137
<td><img src="icons/blank.gif"
138
border="0" height="32"
139
alt="" width="32"></td>
140
<td><A href="genindex.html"><img src="icons/index.gif"
141
border="0" height="32"
142
alt="Index" width="32"></A></td>
149
<td><a rel="contents" title="Table of Contents"
150
rel="contents" title="Table of Contents"
151
href="contents.html"><img src='contents.gif'
152
border='0' height='32' alt='Contents' width='32'></A></td>
153
<td><img src='blank.gif'
154
border='0' height='32' alt='' width='32'></td>
155
<td><a rel="index" title="Index"
156
rel="index" title="Index"
157
href="genindex.html"><img src='index.gif'
158
border='0' height='32' alt='Index' width='32'></A></td>
144
<b class="navlabel">Previous:</b> <a class="sectref" href="pyapi-util-funcs.html">4.6.3 Other functions</A>
145
<b class="navlabel">Up:</b> <a class="sectref" href="pythonapi.html">4. Python API</A>
146
<b class="navlabel">Next:</b> <a class="sectref" href="pyapi-cookie-classes.html">4.7.1 Classes</A>
160
<b class="navlabel">Previous:</b>
161
<a class="sectref" rel="prev" href="pyapi-util-funcs.html">4.6.4 Other functions</A>
162
<b class="navlabel">Up:</b>
163
<a class="sectref" rel="parent" href="pythonapi.html">4. Python API</A>
164
<b class="navlabel">Next:</b>
165
<a class="sectref" rel="next" href="pyapi-cookie-classes.html">4.7.1 Classes</A>
148
<span class="release-info">Release 3.1.3, documentation updated on February 17, 2004.</span>
167
<span class="release-info">Release 3.2.10, documentation updated on July 19, 2006.</span>
150
169
<!--End of Navigation Panel-->