Am 11.03.2014 23:32, schrieb Olaf Radicke: > >> Tommi Mäkitalo <[email protected]> hat am 11. März 2014 um 23:11 geschrieben: > [...] >> The session cookie name is not configurable. There was no need for it. >> But if you need it, it would be quite easy to implement. > Oh, i'm wrong! Only the cookie attribute name can be set: > http://www.tntnet.org/apidoc/html/classtnt_1_1_cookie.html > Sorry! > > And what do this? > > void tnt::Cookies::setCookie ( > const std::string & name, > const Cookie &value_ > ) > http://www.tntnet.org/apidoc/html/classtnt_1_1_cookies.html > > > Olaf You can set cookies. Cookies has a name and a value (and possibly other attributes). Using this method you set the cookie.
Sessions in tntnet use cookies. Tntnet itself uses exactly that method to set the cookie. The name of the tntnet session cookie is fixed. It is "tntnet.applicationname". Tommi ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech _______________________________________________ Tntnet-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tntnet-general
