For a normal dictionary you use the following to delete a key-value pair

del request.session['myid']

2009/3/24 arnie <[email protected]>:
>
> For a logged in user I have created a session as below
> request.session['myid'] = somevalue
> This will create an entry in Session datastore table.
> When the user logout I need to clear this session key
> how can I do this?
> request.session.delete[request.session.get('myid')] does not work

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to