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 |
How to repeat a string to a specific number of times in php?
What type of inheritance that PHP supports?
15 Answers Webwing Technologies,
What is pdo in php why use?
How does php and apache work?
Any good PHP developer looking for change
How can we encrypt the username and password using PHP?
13 Answers Avaria, HCL, TCS, Xpert,
What is session php?
What does the unlink() function mean?
Tell me in php, objects are they passed by value or by reference?
Tell me what is needed to be able to use image function?
What is the use of mysqli_real_escape_string() function?
Write a program to get second highest number in an array using php?