From: brew@theMode.com
To: pgsql-php@postgresql.org
Subject: Transaction including two web page + timer
Date: Sun, 10 Nov 2002 09:29:04 -0500 (EST)
Message-ID: <Pine.BSF.4.44.0211100921090.92392-100000@themode.com> (raw)
In-Reply-To: <20021109214018.GA22305@wolff.to>
> > Good idea. One problem is that HTML is a stateless protocol. How can I
> > let application to hold the whole contents of the first page and second
> > page?
>
> PHP provides for session tracking. Somehow you have to be tying the two
> web requests together. You could store the information from the first
> request as a file or in a table in the database that holds the page 1
> requests temporarily.
Look into session variables, they are stored on the web server and
available to all the following instances of PHP scripts from each
particular user. It is set up with one line of code at the top of each
script and then you can pass the variables onto the following scripts, no
need to worry about the the details of file or database calls for the
temporary info, it's built into PHP.
brew
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-php@postgresql.org
Cc: brew@theMode.com
Subject: Re: Transaction including two web page + timer
In-Reply-To: <Pine.BSF.4.44.0211100921090.92392-100000@themode.com>
References: <20021109214018.GA22305@wolff.to> <Pine.BSF.4.44.0211100921090.92392-100000@themode.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox