[mod_python] Silly session help

Byron Ellacott bje at apnic.net
Mon Aug 23 13:21:44 EDT 2004


Malcolm Lockyer wrote:
> def handler(req) :
>    sess = Session.Session(req)
>    if sess.is_new() :
>        req.write("Hello this is a new session!")
          sess.save()
>    return apache.OK
> Anybody know what I'm missing?

Probably the line I sneakily added in there. :)

-- 
bje


More information about the Mod_python mailing list