> When I put my pg_connect() result in a $_SESSION variable, it > automagically > gets re-set to int(0). Both on windows and on unix. I'm using PHP4-stable, > and would like to know more about this. Google and php.net/manual didn't > help You can't carry a connection or resource ID in the session. It may allow you to assign it to a session variable, but it will not be valid on the next page. You must call pg_connect() in every script. ---John Holmes... -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php