jaymc Posted January 11, 2007 Share Posted January 11, 2007 Regardless of whats in PHP.ini, how can you set the SESSION expire time and the SESSION path such as '/' Link to comment https://forums.phpfreaks.com/topic/33797-set-session-cookie/ Share on other sites More sharing options...
micah1701 Posted January 11, 2007 Share Posted January 11, 2007 you can override the php.ini settings.see: http://www.phpfreaks.com/tutorials/10/0.phpthen do something like:ini_set('session.cache_expire','180'); Link to comment https://forums.phpfreaks.com/topic/33797-set-session-cookie/#findComment-158535 Share on other sites More sharing options...
Draicone Posted January 11, 2007 Share Posted January 11, 2007 I've heard you can also make the change globally across scripts in a directory using .htaccess (plugs in to the parser). Link to comment https://forums.phpfreaks.com/topic/33797-set-session-cookie/#findComment-158719 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.