Sessions

0 views
Skip to first unread message

Eric Hansen

unread,
Nov 25, 2008, 8:56:13 PM11/25/08
to ligh...@googlegroups.com
Hey, I'm not sure if this more of a lighttpd or PHP issue, so I apologize if I'm asking the wrong crowd.
 
Anyways, I don't know why, but my PHP sessions keep timing out way before they are supposed to.  I have the lifetime setting for sessions in php.ini set to 1440 seconds (~20 minutes), but they time out after, like, 10 or 15 minutes on average.  I'm wondering if it might have to do w/ my server configuration (using mod_fcgi).  Below is the mod_fcgi setup for PHP:
 
fastcgi.server = ( ".php" => (( "socket" => "/tmp/php-fastcgi.socket",
    "bin-path" => "/usr/bin/php-cgi",
    "bin-enviroment" => (
     "PHP_FCGI_CHILDREN" => "16",
     "PHP_FCGI_MAX_REQUESTS" => "16000"
    )
         ))
  )
 
I don't really see how that'd cause an issue, though.  Again, sorry if this was posted in the wrong spot, but trying to eliminate the easiest possiblities first.

--
When your work speaks for itself, don't interrupt.
– Henry J. Kaiser
Reply all
Reply to author
Forward
0 new messages