Re: How to keep db cursor during reloaded www?
| From: | Stig S. Bakken | Date: | Wed, 24 Jul 2002 13:27:11 +0000 |
| Subject: | Re: How to keep db cursor during reloaded www? | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-7938@lists.php.net to get a copy of this message | ||
On Wed, 24 Jul 2002, Johann wrote:
> Do anyone have any idea how to keep cursor during reloaded www pages?
> I tried to keep it in session variable but PHP cannot keep objects in
> sessions. So I tried to serialize it, but PHP cannot serialize
> resource_type (connection to database is resource type). Do anybody
> have any idea?
>
> I would like to serialize resource type variable. Is it possible at all?
Unfortunately not. Hopefully it should be possible for most resources in
PHP 5, but that won't be out in a while. :-)
- Stig