if you use an out of process session manager then there is no expire event,
you just use a timer. You need to know the session cookie timeout, then
purge sessions older than that.
in the microsft version, they update a timestamp everytime a session is
used. then then schedule a sqlagent job (every few minutes) to delete any
session old enough to expire. you can write simular code.
-- bruce (sqlwork.com)
<satisharas@gmail.comwrote in message
news:1158074021.054073.228540@e63g2000cwd.googlegr oups.com...
Quote:
Hello,
>
I am trying to write a custom session manager in ASP.NET 2.0 using
oracle as the backend. I want to know how the session expires in web
garden and we are using NLB (a session can be served by the multiple
web servers)
>
Following are few points:
>
1. How to cleanup session data on Oracle table (on which event need to
cleanup) also how does session expire works in webgarden (is it
possible that all the web server have session active for a particular
client)
2. Can we use Caching to save session data (don't want to hit database
server on every page to load the session data - just a idea)?
3. We are using NLB
4. Custom session management inheriting "SessionStateStoreProviderBase"
class with ASP.NET 2.0/Oracle
>
I was not able to find any article, which answers these issues. If
anyone can answer these
>
Thanks in Advance
Sam
>