PageRenderTime 5ms CodeModel.GetById 1ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/cgi/session.hpp

https://bitbucket.org/nileshgr/cxxcms/
C++ Header | 19 lines | 17 code | 2 blank | 0 comment | 0 complexity | 05fd52ef542ddf2764f0a5ce97391d41 MD5 | raw file
 1#include <cgi/cgi.hpp>
 2#include <cgi/parser.hpp>
 3
 4namespace CGI {
 5
 6  class Session {
 7  private:
 8    std::string session_id;
 9    Dict_ptr_t session_data;
10  public:
11    Session();
12    std::string getSessionId();
13    bool loadSession(std::string);
14    Dict_ptr_t getAll();    
15    void addKey(Tuple_t&);
16    void loadData(Dict_t&);
17    void setExpireTime(size_t);
18  };
19}