delete session variable when close browser with out logout
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / ramtej
session should automatically expires when browser window
closes..
Is This Answer Correct ? | 2 Yes | 3 No |
Answer / psharma05
session variable automatically delete when browser closed.
Is This Answer Correct ? | 3 Yes | 14 No |
What is inheritance in php progaming?
How check field is empty or not in php?
How to define a function with any number of arguments?
What is echo in html?
Which function you can use in php to open a file for reading or writing or for both?
Write a query to find the 2nd highest salary of an employee from the employee table?
"$this" what type of object it is?
•How do you create subdomains using PHP?
How come the code works, but doesn’t for two-dimensional array of mine?
Can I learn php in a month?
With a heredoc syntax, do I get variable substitution inside the heredoc contents?
What is the difference between characters 23 and x23?