FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


Session handlers in Frihost using Python? Help Needed!





game_dev
Hi.

Is anyone out there using session handlers in their python powered websites here in Frihost? If you are, how are you doing it?

First I heard there is no support for frameworks like Django here. Oh well, so much for that. Then I tried to use mod_python.Session module instead, just to find out that the installed mod_python version seems to so old ( 5 years!?! ) that it doesn't have a Session module?

Running this snippet:


Code:

def handler(req):
    from mod_python import Session , apache
    session = Session.Session(req)


...gives me the following error:

Code:
ImportError: cannot import name Session


So I would appreciate any advice on how to implement session long variables here in Frihhost.

Regards,
gd
Related topics
Reply to topic    Frihost Forum Index -> Support and Web Hosting -> Web Hosting Support

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.