JoshGud777 / AppleQuestWeb

Apache License 2.0
0 stars 0 forks source link

login.py - cookies #9

Open JoshGud777 opened 9 years ago

JoshGud777 commented 9 years ago

Change the cookie expiry tag to be 600 seconds instead of 300 so that when the user tries to issue a command it says that the session expired instead of just kicking them to the login page.

When they have no cookies it should take them straight to the login page

When they have a cookie it should as them to verify themselves but keep the command they entered.

Because of this we may want to increase the expiry even longer: Maybe just not have and expiry on the cookie what so ever. But if we do that then we can not keep the last command and use it automatically,