You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Session is more relavant than cookie when it comes to handling data of logged in users. Is is also easier to use.
For example in logout function, instead of using set_cookie() and set the cookie's lifetime to 0, we could use session.pop() to delete data.
The text was updated successfully, but these errors were encountered:
Session is more relavant than cookie when it comes to handling data of logged in users. Is is also easier to use.
For example in logout function, instead of using set_cookie() and set the cookie's lifetime to 0, we could use session.pop() to delete data.
The text was updated successfully, but these errors were encountered: