Keep track of pages visited
Hi
How do I get keep track of the jsp pages being visited between when someone logs into an application and
logs out.Do I have to write something at very page to track this
Would I able to persist this information into the database and retrieve this later
Thanks
Arn
> Hi
>
> How do I get keep track of the jsp pages being visited
> between when someone logs into an application and
> logs out.Do I have to write something at very page to
> track this
> Would I able to persist this information into the
> database and retrieve this later
>
> Thanks
> Arn
Sure, you could create a session bean that would take the request.getContextPath() as a value to an Enumeration of pages variable. Just implement the HttpSessionBindingListener and overload the valueUnbound() function (event invoked when session is being destroyed) to save all the information contained in the vector to your database.
Hope that helps,
Bryan