durusmail: quixote-users: Session / Request interleave problems
Session / Request interleave problems
2004-11-02
2004-11-02
2004-11-11
2004-11-02
2004-11-04
SCGI and CGI
2004-11-04
SCGI-CGI 0.9b1
2004-11-04
2004-11-11
2004-11-11
2004-11-11
2004-11-09
Session / Request interleave problems
R J Ladyman
2004-11-11
Thomas,

Yes, I thought perhaps I had done this - I started out with plain CGI and then
converted the code to SCGI at which point the behaviour changed quite
markedly and I had to remove assumptions the the code was running afresh (and
clean) with each call. Thanks for you suggestion, I will again look at what I
am doing (perhaps there are some dark corners of the code that I have
neglected to change).

RJL


> Am Dienstag, 2. November 2004 11:34 schrieb R J Ladyman:
> > Dear all,
> >
> > I have a Quixote system using SCGI and Postgres under Apache/Linux. All
> > functioning fine with the one rather major problem, that being users'
> > requests are beginning to get muddled with each other: a user will end up
> > with data from a different user, a user's data 'disappears', etc. Is this
a
> > problem with SCGI or quixote or Apache or because multiple sessions are
> > being started? This has only started happening recently, with an increase
> > in the number of users from 2 to 3 or 4, however, I would guess it is
> > because I have made an unwarranted assumption about session behaviour or
> > about how SCGI handles sessions.
>
> Hi,
>
> with SCGI your Publisher gets created once and used
> for the requests again and again. Maybe you are storing
> some information in the publisher.
>
> I think session data should be stored in the request.
>
> HTH,
>  Thomas
>
>
>

--

Robert Ladyman
Tel: +44 (0) 7732 771 649
http://www.file-away.co.uk

Sent to you via the Magach Wireless Network
http://www.file-away.co.uk/rlan.htm


reply