How to save mysql link resources in the session variable?
Posted 10 May 2006 - 03:16 PM
Unfortunately, after a session_start, the mysql resource is gone.
Other variable types are saved properly in the $_SESSION.
Any ideas on how I can accomplish this?
Posted 10 May 2006 - 03:23 PM
Besides, you have to reconnect to the database on the new page, so it can't re-use the same identifier.
Info: PHP Manual
Posted 10 May 2006 - 04:27 PM
However with a persitant connection you are in danger of hitting your maximum database connections limit, therefore your site goes down until all the persistant connections are closed.
Posted 11 May 2006 - 12:17 AM
Posted 14 May 2006 - 12:45 PM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users