HTTP Header problem
-
A highly technical client was asking why his site had an HTTP Response Header with an expiration date in the past, thus preventing browser caching:
Expires:Thu, 19 Nov 1981 08:52:00 GMTI did a little digging, and it turns out “custom sidebars” is the culprit from creating a PHP session.
I understand creating the session id for logged in users, but is there a reason you are creating it for all users?It seems like there would be performance issues preventing browser caching, and possible security issues using session ids over unsecured or unauthenticated connections.
If there isn’t a reason, could you wrap those sessions in a check if the user is logged in?
Thanks,
-Chris
- The topic ‘HTTP Header problem’ is closed to new replies.