Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to Ensure Session Created with Login Name

 
Alec Lee
Ranch Hand
Posts: 569
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I am using FORM based declarative authentication. I was told that whether or not a session is automatcially created after a success login is container specific. In that case, is there any good strategy to manually enforce the creation of session containing the username right after user login ?

Thx for your advice.
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not necessarily the most efficient but pretty easy is to use a filter to detect requests from logged in users and then create a session and attach the user if is not already there.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic