here's a gist of the idea i had ; it works for pyramid_beaker 

https://gist.github.com/jvanasco/9103419

I'm not sure how to handle the client-side cookies, as they have two cookie 
value states:

   cookie_value_in
   cookie_value_out
 
for server-side cookies, the cookie_value_in and out are always the same as 
the id. ( though if you change ids, you have a new session object -- do you 
need to know about the old one ? )

for client-side cookies, your cookie_out will be different than cookie_in 
because of edits and timestamps.

in any event, being about to inspect a Session object and be able to know 
the Cookie Name, the "session id" and the various values is really useful 
and often necessary during testing.  it would be great if these were just 
properties of the Session objects.

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" 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/pylons-discuss.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to