RE: anyone succeed?
| From: | Nold, Mark | Date: | Fri, 03 Nov 2000 00:54:00 +0000 |
| Subject: | RE: anyone succeed? | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-3653@lists.php.net to get a copy of this message | ||
----------------------------------------------------------------------------
-----------------
Disclaimer: The information contained in this email is intended only for the
use of the person(s) to whom it is addressed and may be confidential or
contain legally privileged information. If you are not the intended
recipient you are hereby notified that any perusal, use, distribution,
copying or disclosure is strictly prohibited. If you have received this
email in error please immediately advise us by return email at
postmaster@normandy.com.au and delete the email document without making a
copy.
----------------------------------------------------------------------------
-----------------
I dont think it'll work without persistant connections as non persistant
connections are killed at the end of a page (irrelevant if you set a value
as a session var).
Persistance works without sessions, they simply keep a connection open a
reuse it if possible.
mn
Mark Nold
markn@enspace.com <mailto:markn@enspace.com>
Senior Consultant
Change is inevitable, except from vending machines.
-----Original Message-----
From: deryk@163.net [mailto:deryk@163.net]
Sent: Thursday, November 02, 2000 8:33 AM
To: php-windows@lists.php.net
Subject: anyone succeed?
as following:
<? $link=mysql_connect("host","user","pass");
session_register("link");?>
i want to transfer this link var to another page via session function
my session works well,i've tried on other vars and the $link i get is
ok too,but just i can't transfer it correctly to another page,i also
tried mysql_pconnect(),it's the same ,anyone ever did the same thing
and succeeded?
thx
deryk