How can we maintain a session in a Perl CGI web application?

How to manage user session in Perl CGI web application? Is there any way other than cookies, hidden fields. Is there a possibility?

+3


source to share


1 answer


Choose the Perl web framework you like and use its session plugin. Most frameworks have some way to handle this for you. There are ways other than cookies, but they are pretty ugly and sometimes sneaky.

If you don't like it, there is a lot of documentation and examples waiting for you after you follow the link in your Google search. The topic is quite large and can probably fill a small book. Since your question is very broad, you are unlikely to get help on Stackoverflow.



You can also search for CPAN for modules with session in the name. For web frameworks, you might consider Mojolicious , Dancer , Catalyst, and others. Their documentation will take you to the session handling functions.

+2


source







All Articles