[web2py] How to get session's Unique ID?

632 views
Skip to first unread message

Phyo Arkar

unread,
Nov 7, 2010, 12:50:23 PM11/7/10
to web2py
A simple question.. I cannot find it anywhere..

How can i retrieve Session's unique Key?

mr.freeze

unread,
Nov 7, 2010, 12:54:12 PM11/7/10
to web2py-users
I believe it lives in response.session_id.

Phyo Arkar

unread,
Nov 7, 2010, 12:58:36 PM11/7/10
to web...@googlegroups.com
haha i was looking inside session and pulling my hairs out LOL ,
Thanks Mr.Freeze!
Ajax requests also uses the same session key right?

mr.freeze

unread,
Nov 7, 2010, 1:01:30 PM11/7/10
to web2py-users
That would be the logical place to look :) Yes to your question.
Message has been deleted

Sankhajit Das

unread,
Jan 20, 2017, 12:48:21 AM1/20/17
to web2py-users


on adding response.session_id... its displaying a flash msg "An error occured,please reload the page". Why??? And how can i fix it?
Reply all
Reply to author
Forward
0 new messages