It turns out a cookie suits my purpose well. A user can clear their
history by just deleting the cookie. Works rather nicely. Its not a
public app, so cookies work in this case. I will keep the
SessionLIstener in mind, I am sure it will be useful.
Thanks,
Dusty
On Apr 8, 2008, at 10:41
I experienced no problems with the session listener.
Server is a Tomcat 5.5 on Linux, the webapp is based on Appfuse 2.0
There could be a prolem regarding the identification of the active user,
since the Acegi SecurityContext gets destroyed when a session is
destroyed...
Bye,
Peter
2008/4/8, Du
Ok, now that is a pattern I considered, but I don't have experience
with the HttpSessionListener. Has it worked well for you? Is it
flakey? I think I had a bad experience some time ago with session
listeners, but that could have been with .asp pages. Yes, I did .asp
dev once. I needed
Hi!
I made something similar in one of my last web apps:
- Store the last 10 pages the user visited in a list in the Session (By
using your interceptor). Make sure that only your max amount of entries are
stored in the list (By replacing the least relevant entry).
- Implement a HttpSessionListene
Hello,
I am having a mental block. I want to create a simple list that
tracks the last 10 records the user visited. I am using Struts2 and I
have implemented an interceptor to capture the id of the object when
the user goes to show().
At this point, I am not sure how I want to, or the b