Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 149
  • Last Modified:

Maintaining state information?

Hello geniuses...

How do I maintain state information in Perl?  What I want to do specifically is set up password protection for a site, but I don't want to do it using the ".htaccess" method since 1) I don't have that much control over our client server and 2) I don't want a pop-up box for PW entry, I'd rather use HTML.

Cookies are ok, but I need a non-cookie answer too, if there is one...thanks...
0
Raydot
Asked:
Raydot
1 Solution
 
RaydotAuthor Commented:
..also, if anyone knows where I can find this info on the web somewhere, I'd be much obliged, although I'm going to leave the question open for all kinds of other reasons...
0
 
christopher sagayamCommented:
use the CGI.pm module for setting cookies ( see its docs)


Regarding maintaining STATE other than cookies ..

You could use a TEMP file for each user
0
 
maneshrCommented:
here is a URL for some PERL-based "Password Protection" scripts.

http://www.freeperlcode.com/guide/Password_Protection/

you have a variety of options there!!
0
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
RaydotAuthor Commented:
Well chris18, my problem is what to do if the user doesn't want a cookie set, you know?  Any thoughts on that?  I'll check the freeperlcode.com site, thanks maneshr.
0
 
christopher sagayamCommented:
You have to use a TEMP file for every USER ..

I can email you the detailed steps
0
 
RaydotAuthor Commented:
Sure.  raydot@erols.com...

0
 
bighuenCommented:
i want to know too.
please mail me too .
stanleyhuen@hotmail.com
0
 
RaydotAuthor Commented:
Thanks!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now