[mod_python] from modPython import Cookie alternative in 2.7.11

Jim Gallacher jpg at jgassociates.ca
Thu Mar 30 17:24:10 EST 2006


Alberto Ruiz wrote:
> Ok, after reading some more it seems that the Cookie class is only part
> of the 3.x version, but I thought that you needed to have Apache 2.x to
> run the newer version.  Can I install modpython 3.1 on Apache 1.3?

No.

> could almost swear that my old server had that setup.  Or can I copy the
> Cookie portion into a 2.7 setup?

I don't see anything in Cookie.py that is mod_python specific so go 
ahead and give it a shot. If you have any questions however, please make 
it clear that you are using Cookie.py from mod_python 3.x in mod_python 
2.7. It could get confusing otherwise.

Jim

> On Thu, 2006-03-30 at 10:20 -0700, Alberto Ruiz wrote:
> 
>>Thanks a lot for helping me in my previous issue. I'm very impressed and
>>how clickly people reply.  I got the publisher handler working.
>>
>>I have a different issue.  I migrated my existing working scripts from a
>>Debian system to:
>>
>>Apache 1.3.33
>>Python 2.4.2
>>FreeBSD 4.7-RELEASE-p28
>>mod_python-2.7.11
>>
>>But now the Cookie object does not exist. I'm assuming that the name
>>changed or the implementation is different.  What's the name of the new
>>object and how do I implement it?
>>
>>Alberto
>>
>>
>>
>>_______________________________________________
>>Mod_python mailing list
>>Mod_python at modpython.org
>>http://mailman.modpython.org/mailman/listinfo/mod_python
>>
> 
> 
> _______________________________________________
> Mod_python mailing list
> Mod_python at modpython.org
> http://mailman.modpython.org/mailman/listinfo/mod_python
> 



More information about the Mod_python mailing list