+ 3
Sessions logout. When delete it and when change?
where i work they destroy the session, but is better to change it to say the session is over?
4 Antworten
+ 4
Ok if you are working with forms,, the part of log out,, you should use session_destroy() ; to destroy all the sessions or use session_unset() ; it will do the same
+ 3
Is this a question or a statement
+ 2
on login u need to use the session created then on logout the session destroy logout is used.
+ 1
sorry for my English. is a question because i'm not sure of which option is better or in which situation. Delete all the session always, change it or a mix?