Transaction including two web page + timer

From: brew(at)theMode(dot)com
To: pgsql-php(at)postgresql(dot)org
Subject: Transaction including two web page + timer
Date: 2002-11-10 14:29:04
Message-ID: Pine.BSF.4.44.0211100921090.92392-100000@themode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php


> > 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

In response to

Responses

Browse pgsql-php by date

  From Date Subject
Next Message Zavier Sheran 2002-11-10 15:36:27 Backing up the database via browser
Previous Message Tom Lane 2002-11-10 13:50:24 Re: [SQL] Parent table has not oid?