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 |
am fresher in php ..am finished my linux,apache,mysql,and php(LAMP) course please can any one tell openings for freshers in php ...And please tell how much i demand as a fresher in PHP field just say approximately or assumption ..? at present am staying in chennai am looking my job in chennai only or else in bangalore ... hello experts please answer this question ?
What are different types of errors available in Php?
What’s the difference between htmlentities() and htmlspecialchars()?
Does browser understand php?
How does the identity operator === compare two values?
What are the advantages of using php?
What is the method to register a variable into a session?
What is the purpose of the '.myd' file extension? What do thes file contain?
what is the difference between ph4 and php5
How to concatenate two strings together in php?
In php how can you jump in to and out of "php mode"?
What is framework in php?