[Tutor] cherrypy

Alan Gauld alan.gauld at btinternet.com
Wed Apr 14 01:44:57 CEST 2010

"Rayon" <rayon at gtt.co.gy> wrote 

>I am running cherrypy server but I am having some trouble with sessions 

We need something a bit more specific.
What kind if "trouble"?

Does it execute but with the wrong result? (In what way wrong?)
Does it execute with errors? (please include error text)
Does it fail to execute?

> Where is my code 
> from cherrypy.lib import sessions
> sess = sessions.Session()
> x = sess.id 
> return x; 


Alan Gauld
Author of the Learn to Program web site

More information about the Tutor mailing list