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 the main difference between php 4 and php 5?
What are the characteristics of php?
Which php framework is best for beginners?
How can I maintain the count of how many persons have hit my site?
1 Answers MTOG, Rushmore Consultancy,
How to get complete current page url in php?
What is php dependency injection?
Explain about PHP filter and why it should be used?
How do you end php?
Can we use include ("xyz.php") two times in a php page "index.php"?
Explain Type juggling?
How do you define a constant?
What is xss in php?