python - How to check user online with django and GAE? -
I am using Django with Google App Engine and I create a module to check the online / offline user Want to But GAE does not support the session, so I find it hard to find a way to do this. How can I resolve this problem? Any thoughts would be appreciated, thanks.
Session Library will not solve this, because the HTTP is static. Using the session, you can determine that someone has finally made a request, but it does not tell you whether they are "online" - they can immediately close their browser tabs or they can switch it to a week's Can open for / P>
If you really need to actually do this, you can use it. Alternatively, you can use the Session Library, or you can log in to the user using the user API, and you can list any person who requested the last n minutes as 'online'. Are there.
Comments
Post a Comment