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 |
Which functions are used to remove whitespaces from the string?
What does the scope of variables means?
How to convert strings to numbers in php?
How to execute a function in php?
How to get no. of rows using MYSQL function?
Tell me what does the php error 'parse error in php - unexpected t_variable at line x' means?
Explain the casts allowed in PHP?
Does strlen include null?
What is class extend in php?
How to list all values of submitted fields?
Explain $_FILES Superglobal Array?
Does browser understand php?