Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

how to handle global variable?
My experiencewith perl is limited, so I need a recommendation about how to
load a variable that I need through the entire run of an application that
entails the user going through several web pages. I don't want to pass it as
a CGI to each page. Is a package the correct way? Is there a tutorial or
sample code that shows how to load it and read it later? Or is there a
better way to handle this?
Thank you for any information.



Report this thread to moderator Post Follow-up to this message
Old Post
Goober
03-27-05 08:57 AM


Re: how to handle global variable?
Goober wrote:
> My experiencewith perl is limited, so I need a recommendation about how to
> load a variable that I need through the entire run of an application that
> entails the user going through several web pages. I don't want to pass it 
as
> a CGI to each page. Is a package the correct way? Is there a tutorial or
> sample code that shows how to load it and read it later? Or is there a
> better way to handle this?

Maybe you want to use a cookie. CGI.pm includes methods for the purpose.
Also see http://www.cookiecentral.com/

--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl

Report this thread to moderator Post Follow-up to this message
Old Post
Gunnar Hjalmarsson
03-27-05 08:57 AM


Re: how to handle global variable?
"Gunnar Hjalmarsson" <noreply@gunnar.cc> wrote in message
news:3ammiqF6betgpU1@individual.net...
> Goober wrote: 
>
> Maybe you want to use a cookie. CGI.pm includes methods for the purpose.
> Also see http://www.cookiecentral.com/
>
> --
> Gunnar Hjalmarsson
> Email: http://www.gunnar.cc/cgi-bin/contact.pl
Thank you. I will look at it. Appreciate it.



Report this thread to moderator Post Follow-up to this message
Old Post
Goober
03-27-05 08:55 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

PERL Programming archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 06:49 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.