File: //opt/alt/python27/lib/python2.7/site-packages/paste/flup_session.pyc
�
a�Nc           @   s�   d  Z  d d l m Z d d l m Z d d l Z e j j Z i  Z	 d e
 f d �  �  YZ d e
 f d �  �  YZ e e d	 � Z
 d S(
   s�  
Creates a session object.
In your application, use::
    environ['paste.flup_session_service'].session
This will return a dictionary.  The contents of this dictionary will
be saved to disk when the request is completed.  The session will be
created when you first fetch the session dictionary, and a cookie will
be sent in that case.  There's current no way to use sessions without
cookies, and there's no way to delete a session except to clear its
data.
i����(   t   httpexceptions(   t   wsgilibNt	   NoDefaultc           B   s   e  Z RS(    (   t   __name__t
   __module__(    (    (    sC   /opt/alt/python27/lib/python2.7/site-packages/paste/flup_session.pyR      s   t   SessionMiddlewarec           B   s�   e  Z i e j d  d e d f g f d 6e j d  d e d f d d e d f g f d 6e j d  d e d f d d	 e d
 f g f d 6Z d e
 e
 d � Z d
 �  Z RS(   t   session_timeoutt   timeouti<