Re: [Tutor] cookie expiration date format

2007-03-19 Thread Mike Hansen
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Luke Paireepinart Sent: Friday, March 16, 2007 8:31 PM To: Tim Johnson Cc: tutor@python.org Subject: Re: [Tutor] cookie expiration date format Tim Johnson wrote: Hi: I want to be able

Re: [Tutor] cookie expiration date format

2007-03-19 Thread Tim Johnson
On Monday 19 March 2007 15:33, Mike Hansen wrote: Some of the modules in the Python standard library make things a little more difficult than other languages.(Perl, Ruby, ...) This is a good example of it. Are there any 3rd party modules that let you set the expiration date to 'yesterday'?

Re: [Tutor] cookie expiration date format

2007-03-17 Thread Tim Johnson
On Saturday 17 March 2007 02:31, Luke Paireepinart wrote: Tim Johnson wrote: I'm not clear what datatype is needed here. Can anyone clarify this for me? Sounds like it's an integer or float, such as returned by time.time() I shouldn't have used the word 'datatype', 'cuz I'm sure that it

Re: [Tutor] cookie expiration date format

2007-03-17 Thread Tim Johnson
On Saturday 17 March 2007 08:13, Tim Johnson wrote: On Saturday 17 March 2007 02:31, Luke Paireepinart wrote: Tim Johnson wrote: I'm not clear what datatype is needed here. Can anyone clarify this for me? Sounds like it's an integer or float, such as returned by time.time() I

[Tutor] cookie expiration date format

2007-03-16 Thread Tim Johnson
Hi: I want to be able to expire a cookie programmatically. In other languages, I just set the expiration date to 'yesterday'. If I look at the documentation at: http://docs.python.org/lib/node644.html for the Cookie object, I see the following:

Re: [Tutor] cookie expiration date format

2007-03-16 Thread Luke Paireepinart
Tim Johnson wrote: Hi: I want to be able to expire a cookie programmatically. In other languages, I just set the expiration date to 'yesterday'. If I look at the documentation at: http://docs.python.org/lib/node644.html for the Cookie object, I see the following: