Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to get data from django session

#########    Store the data ############
request.session['idempresa'] = profile.idempresa
######## now use the data ################
if 'idempresa' in request.session:
    idempresa = request.session['idempresa']
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #data #django #session
ADD COMMENT
Topic
Name
2+1 =