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 :( Greets, ReneV -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php