To answer my question: :) From Cocoon docs:
A session is a data storage which resides on the server and records information about one single user. Cocoon creates a session on demand and from that point of time the user is tracked and information can be stored inside the session. Each following request of this user is linked to the one specific session, so there is always only one session per user on the server. To avoid a fast growing amount of sessions on the server and the overcome potential security problems, a session has usually a valid period of time. If during this period no new request comes in from the user, the session object on the server will be destroyed by the server (this period of time is called session timeout). The web application often allows a user to explictly destroy a session. The usual web applications create sessions during login of a user and destroy them when the user logs out. Antonio Gallardo El Viernes, 20 de Septiembre de 2002 16:30, Antonio Gallardo Rivera escribió: > I have a little web application with aprox. 123 pages. I need to setup the > users and groups permisions to this pages. I am using the Authentication > Framework. All this permisions are stored in a database in the server. The > question is: > > Where are all the session data stored or mantained? > > I ask this because I need to know what is the cost of read once and store > all this data inside the user session vrs. Retrieve a value from the > database on every access (using the user ID). > > I know this is a trade off between database transacctions vrs. network > bandwidth. > > Many thanks in advance, > > Antonio Gallardo. > > P.S: I am using XSP, Cocoon 2.1 > > --------------------------------------------------------------------- > Please check that your question has not already been answered in the > FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> > > To unsubscribe, e-mail: <[EMAIL PROTECTED]> > For additional commands, e-mail: <[EMAIL PROTECTED]> --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>