\section{cppcms\+:\+:sessions\+:\+:session\+\_\+sid Class Reference}
\label{classcppcms_1_1sessions_1_1session__sid}\index{cppcms\+::sessions\+::session\+\_\+sid@{cppcms\+::sessions\+::session\+\_\+sid}}


An implementation of \doxyref{session\+\_\+api}{p.}{classcppcms_1_1session__api} that stores the data using \doxyref{session\+\_\+storage}{p.}{classcppcms_1_1sessions_1_1session__storage} and unique session id.  




{\ttfamily \#include $<$cppcms/session\+\_\+sid.\+h$>$}

Inheritance diagram for cppcms\+:\+:sessions\+:\+:session\+\_\+sid\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3.000000cm]{classcppcms_1_1sessions_1_1session__sid}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
{\bf session\+\_\+sid} ({\bf booster\+::shared\+\_\+ptr}$<$ {\bf session\+\_\+storage} $>$ s)
\item 
{\bf $\sim$session\+\_\+sid} ()
\item 
virtual void {\bf save} ({\bf session\+\_\+interface} \&, std\+::string const \&data, time\+\_\+t timeout, bool, bool)
\item 
virtual bool {\bf load} ({\bf session\+\_\+interface} \&, std\+::string \&data, time\+\_\+t \&timeout)
\item 
virtual bool {\bf is\+\_\+blocking} ()
\item 
virtual void {\bf clear} ({\bf session\+\_\+interface} \&)
\end{DoxyCompactItemize}


\subsection{Detailed Description}
An implementation of \doxyref{session\+\_\+api}{p.}{classcppcms_1_1session__api} that stores the data using \doxyref{session\+\_\+storage}{p.}{classcppcms_1_1sessions_1_1session__storage} and unique session id. 

\subsection{Constructor \& Destructor Documentation}
\index{cppcms\+::sessions\+::session\+\_\+sid@{cppcms\+::sessions\+::session\+\_\+sid}!session\+\_\+sid@{session\+\_\+sid}}
\index{session\+\_\+sid@{session\+\_\+sid}!cppcms\+::sessions\+::session\+\_\+sid@{cppcms\+::sessions\+::session\+\_\+sid}}
\subsubsection[{session\+\_\+sid(booster\+::shared\+\_\+ptr$<$ session\+\_\+storage $>$ s)}]{\setlength{\rightskip}{0pt plus 5cm}cppcms\+::sessions\+::session\+\_\+sid\+::session\+\_\+sid (
\begin{DoxyParamCaption}
\item[{{\bf booster\+::shared\+\_\+ptr}$<$ {\bf session\+\_\+storage} $>$}]{s}
\end{DoxyParamCaption}
)}\label{classcppcms_1_1sessions_1_1session__sid_a0929a6658db6d4db2ba14958087c60fb}
Create a new \doxyref{session\+\_\+sid}{p.}{classcppcms_1_1sessions_1_1session__sid} with a pointer {\itshape s} to \doxyref{session\+\_\+storage}{p.}{classcppcms_1_1sessions_1_1session__storage} \index{cppcms\+::sessions\+::session\+\_\+sid@{cppcms\+::sessions\+::session\+\_\+sid}!````~session\+\_\+sid@{$\sim$session\+\_\+sid}}
\index{````~session\+\_\+sid@{$\sim$session\+\_\+sid}!cppcms\+::sessions\+::session\+\_\+sid@{cppcms\+::sessions\+::session\+\_\+sid}}
\subsubsection[{$\sim$session\+\_\+sid()}]{\setlength{\rightskip}{0pt plus 5cm}cppcms\+::sessions\+::session\+\_\+sid\+::$\sim$session\+\_\+sid (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}\label{classcppcms_1_1sessions_1_1session__sid_af1dde7e553240819d995ede25e19075b}
Delete an object and release a \doxyref{session\+\_\+storage}{p.}{classcppcms_1_1sessions_1_1session__storage} it used. 

\subsection{Member Function Documentation}
\index{cppcms\+::sessions\+::session\+\_\+sid@{cppcms\+::sessions\+::session\+\_\+sid}!clear@{clear}}
\index{clear@{clear}!cppcms\+::sessions\+::session\+\_\+sid@{cppcms\+::sessions\+::session\+\_\+sid}}
\subsubsection[{clear(session\+\_\+interface \&)}]{\setlength{\rightskip}{0pt plus 5cm}virtual void cppcms\+::sessions\+::session\+\_\+sid\+::clear (
\begin{DoxyParamCaption}
\item[{{\bf session\+\_\+interface} \&}]{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\label{classcppcms_1_1sessions_1_1session__sid_aea760185043e39e806e0b09ec9e50d5a}
See \doxyref{session\+\_\+api\+::clear}{p.}{classcppcms_1_1session__api_ab755441f1f95bf01d138560d9fb68bca} 

Implements {\bf cppcms\+::session\+\_\+api} \doxyref{}{p.}{classcppcms_1_1session__api_ab755441f1f95bf01d138560d9fb68bca}.

\index{cppcms\+::sessions\+::session\+\_\+sid@{cppcms\+::sessions\+::session\+\_\+sid}!is\+\_\+blocking@{is\+\_\+blocking}}
\index{is\+\_\+blocking@{is\+\_\+blocking}!cppcms\+::sessions\+::session\+\_\+sid@{cppcms\+::sessions\+::session\+\_\+sid}}
\subsubsection[{is\+\_\+blocking()}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool cppcms\+::sessions\+::session\+\_\+sid\+::is\+\_\+blocking (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\label{classcppcms_1_1sessions_1_1session__sid_aa0869cccf4198d93c230c25160cde95c}
See \doxyref{session\+\_\+api\+::is\+\_\+blocking}{p.}{classcppcms_1_1session__api_ac110761dd1b104702a8863221716547d} 

Implements {\bf cppcms\+::session\+\_\+api} \doxyref{}{p.}{classcppcms_1_1session__api_ac110761dd1b104702a8863221716547d}.

\index{cppcms\+::sessions\+::session\+\_\+sid@{cppcms\+::sessions\+::session\+\_\+sid}!load@{load}}
\index{load@{load}!cppcms\+::sessions\+::session\+\_\+sid@{cppcms\+::sessions\+::session\+\_\+sid}}
\subsubsection[{load(session\+\_\+interface \&, std\+::string \&data, time\+\_\+t \&timeout)}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool cppcms\+::sessions\+::session\+\_\+sid\+::load (
\begin{DoxyParamCaption}
\item[{{\bf session\+\_\+interface} \&}]{, }
\item[{std\+::string \&}]{data, }
\item[{time\+\_\+t \&}]{timeout}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\label{classcppcms_1_1sessions_1_1session__sid_a179189dd0185185b9fd683e41276b258}
See \doxyref{session\+\_\+api\+::load}{p.}{classcppcms_1_1session__api_a6fad2ca45e09b43c9eae519f38888611} 

Implements {\bf cppcms\+::session\+\_\+api} \doxyref{}{p.}{classcppcms_1_1session__api_a6fad2ca45e09b43c9eae519f38888611}.

\index{cppcms\+::sessions\+::session\+\_\+sid@{cppcms\+::sessions\+::session\+\_\+sid}!save@{save}}
\index{save@{save}!cppcms\+::sessions\+::session\+\_\+sid@{cppcms\+::sessions\+::session\+\_\+sid}}
\subsubsection[{save(session\+\_\+interface \&, std\+::string const \&data, time\+\_\+t timeout, bool, bool)}]{\setlength{\rightskip}{0pt plus 5cm}virtual void cppcms\+::sessions\+::session\+\_\+sid\+::save (
\begin{DoxyParamCaption}
\item[{{\bf session\+\_\+interface} \&}]{, }
\item[{std\+::string const \&}]{data, }
\item[{time\+\_\+t}]{timeout, }
\item[{bool}]{, }
\item[{bool}]{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\label{classcppcms_1_1sessions_1_1session__sid_a5415158a4b4b0bf9eb565884ceb318c8}
See \doxyref{session\+\_\+api\+::save}{p.}{classcppcms_1_1session__api_a9388c15001d0e55d31b6d54c9a1edca0} 

Implements {\bf cppcms\+::session\+\_\+api} \doxyref{}{p.}{classcppcms_1_1session__api_a9388c15001d0e55d31b6d54c9a1edca0}.



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
cppcms/session\+\_\+sid.\+h\end{DoxyCompactItemize}
