RE: Wrong page being displayed

[prev] [thread] [next] [Date index for 2005/04/18]

From: Graham Vickrage
Subject: RE: Wrong page being displayed
Date: 16:16 on 18 Apr 2005
I have figured out the problem. It was down to my globally scoped
variables in the pl scripts such as

my $q =3D new CGI;=20

Once I specifically passed these into each procedure the problems
ceased.

Thanks for you help with this one.

-----Original Message-----
From: Thomas Schindl [mailto:tomAtLinux@xxx.xx]=20
Sent: 16 April 2005 14:43
To: Perrin Harkins
Cc: graham@xxxx.xx.xx; modperl@xxxx.xxxxxx.xxx
Subject: Re: Wrong page being displayed


The description of the problem really looks like that, so I could only
second Perrins suggestion to show us the code in question. I looks like
that you are hitting perl-processes which have a closure or something
else and in mod_perl the code is not recompiled everytime.

Tom

> On Fri, 2005-04-15 at 18:39 +0100, Graham Vickrage wrote:
> > It shows previously viewed pages and with no particular pattern.=20
> > Does anyone know where I start looking to solve this one.
>=20
> How about showing us some code?  Try to reduce it to a minimal piece=20
> that demonstrates the problem.
>=20
> Chances are good that you have a closure in your code that is making=20
> your CGI object persist between requests.
>=20
> - Perrin
>=20

--=20
+++ GMX - Die erste Adresse f=FCr Mail, Message, More +++

1 GB Mailbox bereits in GMX FreeMail http://www.gmx.net/de/go/mail

Wrong page being displayed
Graham Vickrage 17:39 on 15 Apr 2005

Re: Wrong page being displayed
Jonathan Vanasco 17:50 on 15 Apr 2005

Re: Wrong page being displayed
Perrin Harkins 20:14 on 15 Apr 2005

Re: Wrong page being displayed
Thomas Schindl 13:42 on 16 Apr 2005

RE: Wrong page being displayed
Graham Vickrage 16:16 on 18 Apr 2005

Generated at 09:30 on 27 Apr 2005 by mariachi v0.52