how to insert logout time when browser close

Answer Posted / perfect

When a user login a site at that time user information
is stored on the server, the user is logout their page use
session unregister function at the time we can get the time
and store to database.

Is This Answer Correct ?    16 Yes 15 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the meaning of a final class and a final method?

536


What does the unlink() function means?

548


Is laravel an oop?

511


What is new keyword in php?

538


Why is used in php?

530






What is the use of anonymous function in php?

555


Who is the father of php?

564


How do I escape data before storing it in the database?

574


Explain Type hinting in PHP?

566


What are super global variables in php?

527


What is the tags in PHP is not a valid way to begin and end a PHP code block?

793


Is php an api?

535


Is php the same as html?

550


Explain soundex() and metaphone().

578


In PHP, fgets() is used to read a file one line at a time. State Whether True or False?

585