[mod_python] Multiple cookies (not writing, but reading...)

Gregory (Grisha) Trubetskoy grisha at modpython.org
Thu Mar 7 13:11:14 EST 2002


If headers_in contains multiple keys with the same name, then when you try
to retrieve this key, the result will be a list. That's bascially all
there is to it :)

On Thu, 7 Mar 2002, Adrien Pisson wrote:

> in all the mailing list archive, i've found many posts asking how to set
> multiple cookies.
> that's right, it's in the manual, use the method add.
>
> but, if i can write multiple cookies, i can't figure out how i can read
> multiple cookies from headers_in.
> is there any counterparts to add ? (the manual does not mention it, neither
> do the source code for table)
>
> thanks.
>
> --
> rien
>
>
> _______________________________________________
> Mod_python mailing list
> Mod_python at modpython.org
> http://www.modpython.org/mailman/listinfo/mod_python
>




More information about the Mod_python mailing list