Pick up information for the current session out of view

已查看 15 次
跳至第一个未读帖子

Aurélio Moreira

未读,
2015年8月28日 08:58:132015/8/28
收件人 Django users
I'm friends with the problem, I'm recording some data in the session, and I need to catch them out of view, I tried to create a session using the following code:


s = SessionStore()
s["dado1"] = dado1
s["dado2"] = dado2

But friends as I do to get this information in another file? If you assign a name for the session how she will behave with many users?

I await a return. Thank you.

Dheerendra Rathor

未读,
2015年8月28日 13:55:502015/8/28
收件人 Django users
what do you mean by another file? Please be specific.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/14287258-01b0-4d57-9aa6-dfc4dc45761b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
回复全部
回复作者
转发
0 个新帖子