DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
Flask - store object directly in a session [duplicate]
def main(): session['my_object'] = Test(1, 2, 3).__dict__ return redirect('retrieve')
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#Flask
#store
#object
#session
ADD COMMENT
Topic
COMMENT
Name
3+9 =
Submit