Remove a key from a session (webapp2_extras.session)

141 views
Skip to first unread message

Lindsey Simon

unread,
Jul 1, 2013, 12:59:37 PM7/1/13
to web...@googlegroups.com
Is there a way to remove a key from a session?
Thanks =)

Lindsey Simon

unread,
Jul 1, 2013, 1:02:38 PM7/1/13
to web...@googlegroups.com
For now I'm just doing self.session[key] = None


On Mon, Jul 1, 2013 at 9:59 AM, Lindsey Simon <els...@gmail.com> wrote:
Is there a way to remove a key from a session?
Thanks =)

--
You received this message because you are subscribed to a topic in the Google Groups "webapp2" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/webapp2/7UIQ8EkPZrw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to webapp2+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Jonathan Kapelus

unread,
Jul 12, 2013, 5:35:51 AM7/12/13
to web...@googlegroups.com
I use:
del self.session[key]

Harendra Bhandari

unread,
Jul 12, 2013, 8:25:53 AM7/12/13
to webapp2


--
You received this message because you are subscribed to the Google Groups "webapp2" group.
To unsubscribe from this group and stop receiving emails from it, send an email to webapp2+u...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages