Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: CGI: frames & maintaining state across CGI scripts

by crouchingpenguin (Priest)
on Apr 15, 2003 at 13:03 UTC ( [id://250560]=note: print w/replies, xml ) Need Help??


in reply to CGI: frames & maintaining state across CGI scripts

Yeah, what you want to do is pass some sort of session identifier to each frame. This will probably involve you writing session management capabilities into your script. A la:

print $query->frameset({-cols=>'25%, 75%'}, frame({-name=>'left', -src=>"./left.pl?id=${identifier}", -method +=>'POS +T'}), frame({-name=>'right', -src=>"./right2.pl?id=${identifier}", -act +ion=>" +./right2.pl", -method=>'POST'}) );

Then left.pl and right.pl know which session to lookup from your backend storage.


cp
----
"Never be afraid to try something new. Remember, amateurs built the ark. Professionals built the Titanic."

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://250560]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2024-04-26 07:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found