Re: php sessions and classes
| From: | Chris Lee | Date: | Mon, 26 Mar 2001 15:35:21 +0000 |
| Subject: | Re: php sessions and classes | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-45626@lists.php.net to get a copy of this message | ||
yes this will work, are you passing the class as a session ? remember to declare the class BEFORE
you call session_start()
ie.
<?php
class test
{
//-note- ...
}
session_start();
?>
do not have session_start before the class declaration.
how do you like postgres? what version? speed/reliability/stability ? In some benchmarks I did I
found postgres lightning fast when it came to multiple table joins, but I have yet to run it in
production, so I dont know about stability/reliability.
--
Chris Lee
lee@mediawaveonline.com
""Steve Brett"" <sbrett@e-mis.com> wrote in message news:99nf2e$vq0$1@toye.p.sourceforge.net...
hi,
i'm busily rewriting an exisitng calendar system that is in use at work.
we're using UML as a design tool and hope to have an OO version of the
system we have at the minute that wil 'fit in' with future devs.
our system at the moment makes heavy use of postgresql and i am hoping to
populate various object from the data in the db.
our system also relies on session for passing data between pages and the
site as a whole.
what i need to know is this in a kind of yes or no fashion:
will php allow me to create a class and then have access to the class from
other pages and scripts ?
Steve
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net