perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From allen haim <al...@netherrealm.net>
Subject Re: %udat and frames
Date Tue, 15 Feb 2005 21:31:48 GMT
Hi Gerald,

Thank you for your response.

I now have the following in my httpd.conf:

PerlSetEnv EMBPERL_SESSION_HANDLER_CLASS "Embperl::Session"
PerlSetEnv EMBPERL_SESSION_CLASSES "File File"
PerlSetEnv EMBPERL_SESSION_ARGS "Directory=/tmp"

but it _still_ has the same problems. 

Is that the correct way to set up a file locker?

Also, how come it works correctly -- but very very slowly -- when I start
the server with 

apachectl -X 

instead of 

apachectl start

?

Allen

On Tue, Feb 15, 2005 at 10:58:19AM +0100, Gerald Richter wrote:
> Hi,
> 
> The problem is that the subpages are start loading before the frame page has
> finish and saved it's session data. So it might be better to pass the values
> are arguments to the sub pages
> 
> The other alternative is to use a Locker for session data access (instead of
> Null, e.g. File), this makes sure the session data of the frame is saved
> before the sub pages can access it.
> 
> Gerald
> 
> 
> 
> ---------------------------------------------------------------------------
> Gerald Richter            ecos electronic communication services gmbh
> IT-Securityl?sungen * Webapplikationen mit Apache/Perl/mod_perl/Embperl
> 
> Post:       Tulpenstrasse 5          D-55276 Dienheim b. Mainz
> E-Mail:     richter@ecos.de          Voice:   +49 6133 939-122
> WWW:        http://www.ecos.de/      Fax:     +49 6133 939-333
> ---------------------------------------------------------------------------
> ECOS BB-5000 Firewall- und IT-Security Appliance: www.bb-5000.info
> ---------------------------------------------------------------------------
>   
> 
> > -----Original Message-----
> > From: allen haim [mailto:allen@netherrealm.net] 
> > Sent: Tuesday, February 15, 2005 5:21 AM
> > To: embperl@perl.apache.org
> > Subject: %udat and frames
> > 
> > Hi,
> > 
> > I've narrowed down the problem I was referring to in my 
> > previous letter. Try
> > this:
> > 
> > bottom.html:
> > #################################################
> > <html>
> >     <head><title>bottom</title></head>
> >         <body>
> >             this is the bottom
> > 
> >             the value is: [+ $udat{'a'} +] 
> > #################################################
> > 
> > 
> > top.html:
> > #################################################
> > <html>
> >     <head><title>top</title></head>
> > 
> >     <body>
> >         this is the top
> > 
> >         the value is: [+ $udat{'a'} +]
> > #################################################
> > 
> > 
> > frameset.html:
> > #################################################
> > [-
> > 
> > $udat{'a'} = 'a';
> > $udat{'b'} = 'b';
> > $udat{'c'} = 'c';
> > 
> > -]
> > 
> > 
> > <html>
> > 
> >         <head>
> >             <title>frame test</title>
> >         </head>
> > 
> >         <frameset rows='10%,90%'>
> >             <frame src='top.html'>
> >             <frame src='bottom.html'>
> >         </frameset>
> > 
> > </html>
> > #################################################
> > 
> > 
> > base.html:
> > #################################################
> > [- Execute ('*')  -]
> > #################################################
> > 
> > 
> > and point your browser to 'frameset.html'. You will see that 
> > 'a' doesn't show up on both frames at once. My expectation 
> > was that it would.
> > 
> > Now click reload. For me, the 'a' now jumps from the top to 
> > the bottom! Then I click reload again, and now the 'a' is 
> > visible in both frames.
> > 
> > Do I have a flawed expectation of how this should work with frames?
> > 
> > Thanks
> > 
> > Allen
> > 
> > --
> > happy random george orwell advice for making tea:
> > 
> > 	Anyone who has used that comforting phrase 'a nice cup 
> > of tea' invariably means Indian tea.
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
> > For additional commands, e-mail: embperl-help@perl.apache.org
> > 
> > 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
> For additional commands, e-mail: embperl-help@perl.apache.org
> 

-- 
happy random george orwell advice for making tea:

	Anyone who has used that comforting phrase 'a nice cup of tea' invariably means Indian tea.

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message