[nycphp-talk] Passing Objects Via Session in PHP 4
Adam Maccabee Trachtenberg
adam at trachtenberg.com
Mon Sep 27 19:12:51 EDT 2004
On Mon, 27 Sep 2004, Joseph Crawford wrote:
> i guess i am a bit confused as to why you cannot store a resouce id in
> a session?
Because PHP does not preserve resources across requests in the way
that you are expecting it. Trying to access a resource created on a
previous page will not work.
-adam
--
adam at trachtenberg.com
author of o'reilly's "upgrading to php 5" and "php cookbook"
avoid the holiday rush, buy your copies today!
More information about the talk
mailing list