how to set session expire(session timeout) using php code

Answer Posted / indrajeet

unset("userid" "timeout",60)

Is This Answer Correct ?    54 Yes 39 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is salary a ratio or interval?

547


Does PHP 5 support exceptions? State Whether True or False?

628


What is the difference between require and include in php?

508


What are the ways to define a constant in php?

526


Why do we use cookie?

545






What is php artisan tinker?

509


What is the difference between associative array and indexed array?

506


Where do I run php code?

524


Do you know how to delete a file from the system?

522


Which php mvc framework is best?

565


What is "print" in php?

520


How many columns can be added in a table in mysql?

494


What is the correct and the most two common way to start and finish a php block of code?

525


What is the role of the .htaccess file in php?

545


What does csrf token mismatch mean?

611