views:

168

answers:

1

In PHP I would do it like this:

session_name("special_session_name");

So how do I do it with Cherrypy? Just need to find exact equivalent for it. PHP manual page: http://fi2.php.net/session_name

+1  A: 

Reading the docs and the source most probably you have to set "tools.sessions.name" in your config file.

Milen A. Radev
Thanks, that seems to be what I was looking for.Here's how to do it in python:cherrypy.config.update({'tools.sessions.name': "special_session_name"})
Frank Bannister