M
M
Mike Evstropov2016-01-16 10:43:34
Python
Mike Evstropov, 2016-01-16 10:43:34

Where to store program state in Python?

The principle of Python on the server differs from pohape in that the program is always running. That is, its instance is not created for each connection. If you implement authorization as it is usually done, then the authorization state of one user will be available to another. How to act here? Don't complete it completely?
With habra =D
Dynamic programming is when we have a task that is not clear how to solve, and we break it into smaller tasks that are also not clear how to solve. (c) A. Kumok.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman Kitaev, 2016-01-16
@Aroused

Store sessions. Where you want. In a DB, in a radish, yes though in files.
PS Comparison with authorization in "pohape" is incorrect.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question