#code
web.config.session_parameters['cookie_name'] = 'zpy_session_id'

db = web.database(dbn='sqlite', db='config/session.db')
store = web.session.DBStore(db, 'sessions')
session = web.session.Session(app, store)
#code

change session params before session init.
How to "reset" session...

On Monday, August 26, 2013 7:40:54 PM UTC+2, zital debian wrote:
>
> Hi! I'm using this code to change the session id:
>
> web.config.session_parameters['cookie_name']
>
> other stuff, how to regenerate session id?
>
> i don't see anything in 0.3 docs :(
>

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/webpy.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to