delete session variable when close browser with out logout
Answer Posted / 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 |
Post New Answer View All Answers
What is difference between echo and print in php?
What is $globals php?
Explain the syntax for ‘foreach’ loop with example.
Explain the changes in php versions?
Is php used in 2019?
What are the uses of php language?
How does php strcmp work?
What is session and why do we use it?
What is php stack?
Php program to generate fibonacci series?
What is global array in php?
How to list all values of submitted fields?
What are the special characters you need to escape in double-quoted stings?
Is php deprecated?
How to remove html tags from data in php?