delete session variable when close browser with out logout
Answer Posted / koushikgraj
on unload event in javascript will trigger when the window
is going to close.
we can call a ajax function to clear session
| Is This Answer Correct ? | 8 Yes | 4 No |
Post New Answer View All Answers
How to get the ip address of the client?
What are the differences between mysqli_connect and mysqli_pconnect?
Describe the security vulnerability of PHP?
What is lamp in php?
What is putenv?
Which method do you follow to get a record from a million records? (Searching not from database, from an array in php)?
How does firefox manage cookies?
What is action hooks and filter hooks?
How many escape sequences are recognized in double-quoted strings in php?
How can we determine whether a variable is set?
Is it difficult to learn php?
What is the content of /etc directory?
Is there an easy way to delete an element from a php array?
What is helper library?
How do you check is php not empty?