pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: reiner peterke <zedaardv@drizzle.com>
To: Thom Dyson <TDyson@sybex.com>
Cc: pgsql-php@postgresql.org
Subject: Re: [0.0] Re: [0.2] getting transactions to work
Date: Sat, 31 Jul 2004 11:15:25 +0200
Message-ID: <2809A35D-E2D2-11D8-ACD4-000A95984CA6@drizzle.com> (raw)
In-Reply-To: <OF3F2C37EE.BD55BFDC-ON88256EE1.0066BBB1-88256EE1.00675527@sybex.com>
References: <OF3F2C37EE.BD55BFDC-ON88256EE1.0066BBB1-88256EE1.00675527@sybex.com>

thanks for all the feed back
at least now i have a better idea on how to proceede.

r
On 30 jul 2004, at 20.48, Thom Dyson wrote:

>
>
>
>
> Under PHP (or any cgi type of process), postgres sessions cannot cross
> multiple html pages.  This is neither a flaw in PHP nor postgres; it 
> is a
> fact that is database and language independent.
>
> Each page submission, that is each php invocation, starts a session 
> that is
> closed when the php script is done. the stateless nature of HTTP is at 
> the
> heart of this.  A web server sees each page request as a stand alone 
> event,
> with no relationship to any other request.  The ability to do 
> "sessions" is
> the work around to this.
>
> So, if you need to carry information from one web page to another , you
> either have to write hidden values to the html page (a bad idea on 
> sorts of
> levels) or use session variables to that PHP/postgres can retain
> information.
>
> Thom Dyson
> Director of Information Services
> Sybex, Inc.
>
>
>
> pgsql-php-owner@postgresql.org wrote on 07/30/2004 09:57:53 AM:
>
>> i never said oracle did do that.
>> i don 't have so much experience working with databases and web pages
>> i do not have any understanding or misunderstanding.  i am trying to
>> learn how it does work here.  to my mind it should be able to work
>> within a web page.  maybe you could be so kind as to explain to me why
>> it does not work.
>
>> r
>
>
> ---------------------------(end of 
> broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to 
> majordomo@postgresql.org
>




view thread (18+ messages)  latest in thread

Message-ID: <2809A35D-E2D2-11D8-ACD4-000A95984CA6@drizzle.com>
Permalink:  ../2809A35D-E2D2-11D8-ACD4-000A95984CA6@drizzle.com/
Also on:    postgresql.org/message-id/2809A35D-E2D2-11D8-ACD4-000A95984CA6@drizzle.com

 · 

reply

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: zedaardv@drizzle.com, TDyson@sybex.com
  Subject: Re: [0.0] Re: [0.2] getting transactions to work
  In-Reply-To: <2809A35D-E2D2-11D8-ACD4-000A95984CA6@drizzle.com>
  References: <OF3F2C37EE.BD55BFDC-ON88256EE1.0066BBB1-88256EE1.00675527@sybex.com> <2809A35D-E2D2-11D8-ACD4-000A95984CA6@drizzle.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