NYCPHP Meetup

NYPHP.org

[nycphp-talk] Session cookie expiration issue

Stephen Musgrave stephen at musgrave.org
Wed Mar 8 15:41:09 EST 2006


Andrew -

Thanks for your response.

> Be sure that you call session_start() on each subsequent page request.
> That will update the cookie.  It's often best to have a global include
> file or an auto-prepend script to take care of this.  Secure  
> cookies are
> irrelevant unless you're jumping in an out of HTTP/HTTPS.

session_start() is definitely being called in every invocation of  
ever page on the site.  (It's in a global include file.)  I am not  
jumping in and out of HTTPS, so I will turn them off.

Any other ideas?


Thanks,

Stephen

…………………………………………………………………………………
     email:    stephen at musgrave.org
     web:        http://stephen.musgrave.org/career
     office:       917.721.3378




More information about the talk mailing list