Search
 
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
Name
3+9 =