Just clear/destroy the Visit object. Tapestry may create a session
even if you don't have a Visit (to store persistent page properties,
for example), but you don't need to worry about that so much. If
you're saving all your data to the Visit, nothing important will get
saved to the Session without a Visit, so let the framework do its thing.
Todd
On Jul 11, 2005, at 5:41 AM, Olasoji Ajayi wrote:
According to documentation, a session is initiated automatically
when a visit object is created, can a session be started without
creating a visit object?
To improve performance, I have decided to create a visit object and
hence a session only when a client is about to log in, anonymous
clients are don't need to be in a session, there is no need to
remember what the have done. if an authenticated client decides to
log out, the session should be destroyed and it should not be
browsing the application without a session. the question is, how do
I destroy a session such that the client can continue to access the
application without tapestry recording any session?
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]