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 difference between ereg_replace() and eregi_replace()?
What is file upload?
i want to need upload above 100mb file,i was successfully upload 75mb using .htaccess file ,but i can put 101mb file,it was not upload..please give some tips..local server its work perfectly but online it doesn't work.. .htaccess file details AddHandler application/x-httpd-php .php php_value post_max_size 200M php_value upload_max_filesize 200M php_value memory_limit 300M php_value output_buffering on php_value max_execution_time 259200 php_value max_input_time 259200 php_value session.cookie_lifetime 0 php_value session.gc_maxlifetime 259200 php_value default_socket_timeout 259200
How send email in php?
How can you access a COM object from a PHP page?
Hello Friends,I am seeking for a job in php having 2yrs. exp.Please suggest any company openings.
What are the __construct() and __destruct() methods in a php class?
How do you add a joomla Template in admin panel of joomla? Please mention the steps
3 Answers Cognizant, T3 Softwares,
Explain how to run the interactive php shell from the command line interface?
How can we submit from without a submit button?
What is parent __construct ();?
What is difference between variable declaration and variable definition?