views:

122

answers:

1

I have a question about how to keep the current ASP.net/User's session during the duration of a user's visit. What is the best way to keep the current User object?

Currently I am keeping it as a session object in the Session management in ASP.net. I do have Context.User.Identify.User keeping the email address/PK, but is there a better way to do this?

A: 

I ended up going with a Hibernate session per web session. Its not the most efficient solution but the Hibernate sessions stay small. I'm willing to assign credit if anyone else can offer a solution.

monksy