note 20638 added to ref.session
| From: | robh at forestknoll dot com | Date: | Thu, 11 Apr 2002 01:03:47 +0000 |
| Subject: | note 20638 added to ref.session | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-29088@lists.php.net to get a copy of this message | ||
When using the transparent SID functionality, be warned that if you are using
zlib.output_compression = On in your php.ini to compress all your output then the automatic
insertion of SIDs into relative href's and into forms will NOT work.
I presume this is because the parser which does the insert of the SIDs is run after the web page is
compressed.
Since compression makes the site run massively faster (try www.forestknoll.com), for instance a
packet dump of one page without compression is 38k and with compression it is 4.9k, I have switched
the SID functionality off.
Fortunately I use http basic realm authentication over ssl, which to me is the best session handler
of all, it is impossible to hijack and it works with all browsers.
--
http://www.php.net/manual/en/ref.session.php
http://master.php.net/manage/user-notes.php?action=edit+20638
http://master.php.net/manage/user-notes.php?action=delete+20638
http://master.php.net/manage/user-notes.php?action=reject+20638