Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Python Module for Session Management

Is there any equivalent module for session management like Perl's CGI::Session or Apache::Session ? (I know most python web frameworks have their own implementations, but I am looking for a stand alone module that could be used with any python application.)

like image 775
Sam Avatar asked Dec 29 '12 02:12

Sam


2 Answers

Werkzeug is a WSGI library that is somewhat equivalent to Perl's CGI module in the Python world (almost nobody uses CGI in Python), and it has basic session and signed cookie support.

Werkzeug powers Flask, a minimalist web framework that I frequently use for quick and dirty stuff.

like image 28
Paulo Scardine Avatar answered Sep 18 '22 01:09

Paulo Scardine


I think you can use Beaker's which is a popular library for this. documentation

like image 178
Rohith Avatar answered Sep 17 '22 01:09

Rohith