session

remo's Avatar, Join Date: Jul 2007
Newbie Member
Hi,
I was using session variable in my script.
The default session expire time is 180min.
I have to change the session expire time using php how it is possiable
0
DaWei's Avatar, Join Date: Dec 2006
Team Leader
session_cache_expire (newExpireTime);
session_start ();

Let me recommend the PHP manual as a very good guide for things like this.
0
remo's Avatar, Join Date: Jul 2007
Newbie Member
Hi, Thanks for your reply.
I have posted the same in another forum too.
He said me to make changes in ini file.
I am using linux. I am able to find php.conf file in linux.
but no session details in it.
where can i find that file.
0
pradeep's Avatar, Join Date: Apr 2005
Team Leader
The php.conf may or may not be present! Some admins usually put the directives relating to php in the httpd.conf itself! You can find php.ini in /etc/