Am 11.03.2014 22:39, schrieb Dmitry Dneprov:
> Hi All !
>
> I have plans to use tntnet session.
> What features of "big" application servers session does tntnet support?
> a) setting session timeout (default timeout is too short)
> b) setting session cookie name (I want to hide tntnet usage from hackers)
> c) sharing session between nodes in cluster (I plan to use tntnet for 
> highload site)
> d) external session data store (I want persistent sessions to behave like 
> ones in gmail - always logged in, even after server restart)
>
> Dmitry Dneprov
>
Hi Dmitry,

the session timeout can be set in tntnet.xml. The default is 300 seconds.

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.

Sharing sessions between nodes in a cluster and storing sessions is not 
possible with tntnet. You can put arbitrary objects in a session. Some 
objects may not make sense on another node like e.g. database connection 
objects. Also active connections can't be stored and restored from a 
external storage.

So if you really need to do such things with tntnet, you need to 
implement it yourself, which is of course possible. The serialization 
framework of cxxtools may help here.

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

Reply via email to