how set session expire time in php?

Answer Posted / naiju

unset("username" "timeout",60)

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the differences between GET and POST methods in form submitting?

572


How can we automatically escape incoming data?

545


What are the different filter functions used to filter a variable?

537


Define urlencode() and urldecode() used in php?

588


What is php? Why it is used?

519






What is polymorphism php?

512


What is the difference between die () and exit () in php?

517


Is php open source?

561


How to remove blank spaces from the string?

544


Is it more secure to use cookies to trfer session ids?

525


Write a php script to get the largest key in an array?

523


Tell me what is the difference between the functions strstr() and stristr()?

545


What is the current stable version of php? What advance thing in php7?

529


Name some of the functions in php.

503


What is csrf cookie?

493