pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dave Page <dpage@vale-housing.co.uk>
To: Jack - <jackhappy6@hotmail.com>
To: pgsql-php@postgresql.org
Subject: Re: Maintaining a transaction across multiple HTTP requests
Date: Fri, 18 Jun 2004 17:37:39 +0100
Message-ID: <E7F85A1B5FF8D44C8A1AF6885BC9A0E407B366@ratbert.vale-housing.co.uk> (raw)


> -----Original Message-----
> From: Jack - [mailto:jackhappy6@hotmail.com]
> Sent: Fri 6/18/2004 5:08 PM
> To: Dave Page
> Subject: Maintaining a transaction across multiple HTTP requests
>  
> could u store of a connection handle in a session variable - but on the 
> server side have the session information stored on a shared database  
> instead of a file?

Hi Jack,

I considered that approach, but the problem is that the handle is only valid for the apache process that it was opened under. If the second request is processed by a different apache process, then it'll all go horribly wrong :-(

Regards, Dave



view thread (2+ messages)

Message-ID: <E7F85A1B5FF8D44C8A1AF6885BC9A0E407B366@ratbert.vale-housing.co.uk>
Permalink:  ../E7F85A1B5FF8D44C8A1AF6885BC9A0E407B366@ratbert.vale-housing.co.uk/
Also on:    postgresql.org/message-id/E7F85A1B5FF8D44C8A1AF6885BC9A0E407B366@ratbert.vale-housing.co.uk

 · 

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: dpage@vale-housing.co.uk, jackhappy6@hotmail.com
  Subject: Re: Maintaining a transaction across multiple HTTP requests
  In-Reply-To: <E7F85A1B5FF8D44C8A1AF6885BC9A0E407B366@ratbert.vale-housing.co.uk>
  References: <E7F85A1B5FF8D44C8A1AF6885BC9A0E407B366@ratbert.vale-housing.co.uk>

* 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