Reputation: 101
How to manage user session in Perl CGI web application? Is there any way other than cookies, hidden fields. Is there any possibility?
Upvotes: 3
Views: 412
Reputation: 132792
Choose a Perl web framework that you like and use its session plugin. Most of the frameworks have some way to handle this for you. There are ways other than cookies, but they're fairly ugly and sometimes sneaky.
If you don't like that, there's plenty of documentation and examples waiting for you to read after you click-through on your Google search. The topic is rather large and could probably fill a small book. Since you're question is very broad, you're unlikely to get help on Stackoverflow.
You can also search CPAN for modules with Session in the name. For web frameworks, you might consider Mojolicious, Dancer, Catalyst, and others. Their documentation will lead you to their session handling features.
Upvotes: 2