On 11/2/06, Richard Lynch <[EMAIL PROTECTED]> wrote:
Resources (e.g., MySQL connections) are released at the end of a
script, and will not be resurrectable, at least not in PHP 4 & 5 as I
understand it.
Since this hasn't been said yet...
When working with resources, objects can use the __sle
PM
> To: Meghdad Azriel
> Cc: php-general@lists.php.net
> Subject: Re: [PHP] OO website/program doubt
>
>
> On Wed, November 1, 2006 2:50 pm, Meghdad Azriel wrote:
>> The objects in an OO website/program is always alive in the session,
>> or they
>> die at
bruce wrote:
yo rich (or others)...
does php provide the ability to store objects in a session var
You just need to make sure you load the class before the session:
include('user_class.php');
...
session_start();
otherwise you get "incomplete class" errors.
--
Postgresql & php tutorial
This one time, at band camp, "bruce" <[EMAIL PROTECTED]> wrote:
> does php provide the ability to store objects in a session var
yes
http://phpro.org/tutorials/Introduction-to-PHP-Sessions.html#8
Kevin
--
"Democracy is two wolves and a lamb voting on what to have for lunch.
Liberty is a
-
From: Richard Lynch [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 01, 2006 1:16 PM
To: Meghdad Azriel
Cc: php-general@lists.php.net
Subject: Re: [PHP] OO website/program doubt
On Wed, November 1, 2006 2:50 pm, Meghdad Azriel wrote:
The objects in an OO website/program is always alive in
yo rich (or others)...
does php provide the ability to store objects in a session var
-Original Message-
From: Richard Lynch [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 01, 2006 1:16 PM
To: Meghdad Azriel
Cc: php-general@lists.php.net
Subject: Re: [PHP] OO website/program
On Wed, November 1, 2006 2:50 pm, Meghdad Azriel wrote:
> The objects in an OO website/program is always alive in the session,
> or they
> die at the end of the execution of each page?
They die and are resurrected like zombies on the next page.
The Resurrection is slightly more complicated than
No variable is part of session data, unless you specifically add it
yourself.
Sorry, can't answer to AJAX, haven't had time to play with it.
On Nov 1, 2006, at 12:50 PM, Meghdad Azriel wrote:
Hello,
The objects in an OO website/program is always alive in the
session, or they
die at th
Hello,
The objects in an OO website/program is always alive in the session, or they
die at the end of the execution of each page?
and what about making something like this:
"front-building-engine" in javascript
AJAX tells to PHP the events
AJAX request and load data from PHP
PHP sends "front-l
9 matches
Mail list logo