Abandon Session

  • Thread starter Thread starter rn5a
  • Start date Start date
R

rn5a

In a MS-Access database application, the following code resides within
the *Catch* block of a *Try....Catch* block:

=========================================
Try
'some code
Catch ex As OleDbException
If (ex.ErrorCode = -2147467259) Then
Response.Write("ID: " & Session.SessionID & "<br>")
Session.Abandon()
Response.Write("ID: " & Session.SessionID)
End Try
=========================================

The first Response.Write statement spits out the current
SessionID....that's fine but the second Response.Write statement also
spits out the same SessionID as the first Response.Write statement had
produced.

Shouldn't the second Response.Write statement generate a different
SessionID since I am abandoning the Session after the first
Response.Write statement?
 
Back
Top