RE: [PHP-WIN] RE: Session Variables

From: Date: Fri, 25 Apr 2003 07:30:47 +0000
Subject: RE: [PHP-WIN] RE: Session Variables
Groups: php.windows 
Request: Send a blank email to php-windows+get-19608@lists.php.net to get a copy of this message
Hi, Anybody has a brief example on passing a variable between pages? R---- R-- The information contained in this message is confidential and intended only for the use of the individual or entity identified.If the reader of this message is not the intended recipient, any dissemination, distribution or copying of the information contained in this message is strictly prohibited.If you received this message in error, please notify the sender immediately. -----Original Message----- From: Uttam [SMTP:uttam@lml.co.in] Sent: Friday, April 25, 2003 3:10 PM To: 'Harpreet'; php-windows@lists.php.net Subject: [PHP-WIN] RE: Session Variables connection is a variable of type 'resource' which can not be preserved across sessions. you have to make fresh connection each time. regds, -----Original Message----- From: Harpreet [mailto:harpreet@crispincorp.com] Sent: Thursday, April 24, 2003 23:39 To: php-windows@lists.php.net Subject: Session Variables I can connect to sql server database using mssql_connect. I am trying to use the same connection saved as a session variable to be used again on the second page. But i get an error saying connection to database not open. It seems like i cant use the session variables on the next page and have to redefine it on each page or hard code the connection on each page. Please help I am stuck on this issue. Thanks, Regards, Harpreet -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.windows (#19608) next »