RE: Previous Pages/Requests appearing

[prev] [thread] [next] [Date index for 2005/05/30]

From: cfaust-dougot
Subject: RE: Previous Pages/Requests appearing
Date: 14:43 on 30 May 2005
This is a multi-part message in MIME format.

------_=_NextPart_001_01C56526.1F5E911B
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Sorry, should have said I was running MP2 under RH
=20
Apache/2.0.54 (Unix) mod_perl/2.0.0 Perl/v5.8.0 configured
=20

________________________________

From: cfaust-dougot [mailto:cfaust@xxxxxxxx.xxx]
Sent: Mon 5/30/2005 10:30 AM
To: modperl@xxxx.xxxxxx.xxx
Subject: Previous Pages/Requests appearing


Folks,
=20
I am having problems with previous pages/requests showing up on =
refreshes and/or the clicking on links not going to the proper page etc. =
etc.
=20
Its a new server and I didn't think it was the code so I commented out =
all mod_perl scripts and added the simple script below.
=20
I also got the same problem with the script, even though I had =
"?aaa=3Dtrue", the page wouldn't change to what was defined by the =
"print_aaa" sub, switching to "?bbb=3Dtrue" would result in no change =
either.
=20
What is strange is all I would need to do is wait 4 or 5 seconds and =
then go back and the very first request would always do the proper =
thing, of course "perl-status" showed a new process (perl-status never =
showed more then 1 process during the testing).
=20
Any idea?
=20
Thanks
-Chris
=20
=20
##### Test Script ##
package MP2ShareTest;
=20
use strict;
use CGI;
use vars qw($r $CGI);
######################################################################
# Main
# Our Mod_Perl Content Handler
sub handler {
 $r =3D shift;
 $CGI =3D new CGI();
 my %form_data =3D ();
 %form_data =3D $CGI->Vars;
 if ($form_data{'bbb'} eq 'true') {
  &print_bbb();
 } elsif ($form_data{'aaa'} eq 'true') {
  &print_aaa();
 } else {
  print "No Form Data";
 }
=20
 return Apache2::Const::OK;
=20
} # End of Sub
########################################################################
sub print_aaa {
 print '<a href=3D"/mp2sharetest?bbb=3Dtrue">Click for BBB</a>';
}
########################################################################
sub print_bbb {
 print '<a href=3D"/mp2sharetest?aaa=3Dtrue">Click for AAA</a>';
}
#########################################################################=
#
1;

------_=_NextPart_001_01C56526.1F5E911B
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">=0A=
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML =
DIR=3Dltr><HEAD></HEAD><BODY>=0A=
<DIV id=3DidOWAReplyText47167 dir=3Dltr>=0A=
<DIV dir=3Dltr><FONT face=3DArial color=3D#000000 size=3D2>Sorry, should =
have said I was =0A=
running MP2 under RH</FONT></DIV>=0A=
<DIV dir=3Dltr><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>=0A=
<DIV dir=3Dltr>Apache/2.0.54 (Unix) mod_perl/2.0.0 Perl/v5.8.0 =
configured</DIV>=0A=
<DIV dir=3Dltr>&nbsp;</DIV></DIV>=0A=
<DIV dir=3Dltr><BR>=0A=
<HR tabIndex=3D-1>=0A=
<FONT face=3DTahoma size=3D2><B>From:</B> cfaust-dougot =0A=
[mailto:cfaust@xxxxxxxx.xxx]<BR><B>Sent:</B>; Mon 5/30/2005 10:30 =0A=
AM<BR><B>To:</B> modperl@xxxx.xxxxxx.xxx<BR><B>Subject:</B> Previous =0A=
Pages/Requests appearing<BR></FONT><BR></DIV>=0A=
<DIV dir=3Dltr>=0A=
<DIV><FONT face=3DArial color=3D#000000 size=3D2>Folks,</FONT></DIV>=0A=
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>=0A=
<DIV><FONT face=3DArial size=3D2>I am having problems with previous =
pages/requests =0A=
showing up on refreshes and/or the clicking on links not going to the =
proper =0A=
page etc. etc.</FONT></DIV>=0A=
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>=0A=
<DIV><FONT face=3DArial size=3D2>Its a new server and I didn't think it =
was the code =0A=
so I commented out all&nbsp;mod_perl scripts and added the simple script =0A=
below.</FONT></DIV>=0A=
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>=0A=
<DIV><FONT face=3DArial size=3D2>I also got the same problem with the =
script, even =0A=
though I had "?aaa=3Dtrue", the page wouldn't change to what was defined =
by the =0A=
"print_aaa" sub, switching to "?bbb=3Dtrue" would result in no change =0A=
either.</FONT></DIV>=0A=
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>=0A=
<DIV><FONT face=3DArial size=3D2>What is strange is all I would need to =
do is wait 4 =0A=
or 5 seconds and then go back and the very first request would always do =
the =0A=
proper thing, of course "perl-status" showed a new process (perl-status =
never =0A=
showed more then 1 process during the testing).</FONT></DIV>=0A=
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>=0A=
<DIV><FONT face=3DArial size=3D2>Any idea?</FONT></DIV>=0A=
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>=0A=
<DIV><FONT face=3DArial size=3D2>Thanks</FONT></DIV>=0A=
<DIV><FONT face=3DArial size=3D2>-Chris</FONT></DIV>=0A=
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>=0A=
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>=0A=
<DIV><FONT face=3DArial size=3D2>##### Test Script ##</FONT></DIV>=0A=
<DIV>package MP2ShareTest;</DIV>=0A=
<DIV>&nbsp;</DIV>=0A=
<DIV>use strict;<BR>use CGI;<BR>use vars qw($r $CGI);</DIV>=0A=
<DIV>####################################################################=
##<BR># =0A=
Main<BR># Our Mod_Perl Content Handler<BR>sub handler {<BR>&nbsp;$r =3D =0A=
shift;</DIV>=0A=
<DIV>&nbsp;$CGI =3D new CGI();<BR>&nbsp;my %form_data =3D =
();<BR>&nbsp;%form_data =3D =0A=
$CGI-&gt;Vars;</DIV>=0A=
<DIV>&nbsp;if ($form_data{'bbb'} eq 'true') =0A=
{<BR>&nbsp;&nbsp;&amp;print_bbb();<BR>&nbsp;} elsif ($form_data{'aaa'} =
eq =0A=
'true') {<BR>&nbsp;&nbsp;&amp;print_aaa();<BR>&nbsp;} else =0A=
{<BR>&nbsp;&nbsp;print "No Form =
Data";<BR>&nbsp;}<BR>&nbsp;<BR>&nbsp;return =0A=
Apache2::Const::OK;<BR>&nbsp;<BR>} # End of =0A=
Sub<BR>##################################################################=
######<BR>sub =0A=
print_aaa {</DIV>=0A=
<DIV>&nbsp;print '&lt;a href=3D"/mp2sharetest?bbb=3Dtrue"&gt;Click for =0A=
BBB&lt;/a&gt;';<BR>}<BR>#################################################=
#######################<BR>sub =0A=
print_bbb {</DIV>=0A=
<DIV>&nbsp;print '&lt;a href=3D"/mp2sharetest?aaa=3Dtrue"&gt;Click for =0A=
AAA&lt;/a&gt;';<BR>}<BR>#################################################=
#########################<BR>1;</DIV></DIV></BODY></HTML>
------_=_NextPart_001_01C56526.1F5E911B--

Previous Pages/Requests appearing
cfaust-dougot 14:30 on 30 May 2005

RE: Previous Pages/Requests appearing
cfaust-dougot 14:43 on 30 May 2005

Generated at 20:12 on 05 Jun 2005 by mariachi v0.52