SessionState Mode=SQLServer and Session.Abandon

G

Guest

I am trying out SessionState with Mode=SQLServer. I have my
code run Session.Abandon, but the session entry in the table
ASPStateTempSessions is still there? I was expecting that Session.Abandon
would remove the Session from the table. Is their a different method I
should use
to remove the Session table entry? Is the only way the session will be
removed from the table, is when the session Expires? I notice that there is a
SQL job
that deletes expired sessions, but would it not be better if this entry is
removed
immediately on logout?

Thank you

Ed
 
B

bruce barker \(sqlwork.com\)

you are correct, the sql job is the only deleter.

-- bruce (sqlwork.com)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,982
Messages
2,570,185
Members
46,736
Latest member
AdolphBig6

Latest Threads

Top