Re: [Newbie] Django & Cookies

2006-07-10 Thread Jeremy Dunck
On 7/10/06, Tom Davis <[EMAIL PROTECTED]> wrote: > Say I have some php (or whatever) page that sets a cookie named > "stuff", using django, could I just use request.session['stuff'] and > get the value, or does Django use some kind of special cookie mechanism > that can't talk to the "global" cook

Re: [Newbie] Django & Cookies

2006-07-10 Thread Ian Holsman
request.COOKIE.get('foo',None) should do the trick On 10/07/2006, at 6:05 PM, Tom Davis wrote: > > Okay, this is a pretty simple question with probably a "duh" answer, > but I read the docs page on sessions and it doesn't specify, so here > goes: > > Say I have some php (or whatever) page that

[Newbie] Django & Cookies

2006-07-10 Thread Tom Davis
Okay, this is a pretty simple question with probably a "duh" answer, but I read the docs page on sessions and it doesn't specify, so here goes: Say I have some php (or whatever) page that sets a cookie named "stuff", using django, could I just use request.session['stuff'] and get the value, or do