Hi Jack,
First of all thanks for your reply.
I want to give you more information about my program. I am working on one ready project which we are using right now. In that they haven't used cookies to store session for users.
I have checked in a main page index.php in that they haven't mentioned any session variable with assign expire time.
However i did searched on net and found php.ini file which use to define default variable for php. In that i checked three values mentioned below:
1) session.cookie_lifetime = 0; lifetime in seconds of cookie; or if 0, until browser is restarted
2) session.gc_maxlifetime = 1440; after this number of seconds, stored; data will be seen as 'garbage' and
3) session.cache_expire = 180 ; document expires after n minutes
This all values are default values. However if go with above setting in php.ini then my user session must be keep active till browser close. But its not happening at my end. Without any activity user session force to get log off automatically. I dont want that setting.
Will change a variable "session.gc_maxlifetime" value into php.ini?
Please let me know if you want any other info regarding same. Hope you understand what problem i am facing at my end.
Guide me more the same. Any suggestion welcome.
Regards,
Jimi