How would you get the sessionID using JSP?
I have the following code written using ASP and I want to convert it to JSP.
'Establishes the Session ID
Function GetThisSessionID()
On Error Resume Next
Dim strValue
strValue = session.SessionID
If Err.Number <> 0 then
strValue = "0"
Err.Clear
end if
GetThisSessionID = strValue
End Function
Any help would be greatly appreciated.
I have the following code written using ASP and I want to convert it to JSP.
'Establishes the Session ID
Function GetThisSessionID()
On Error Resume Next
Dim strValue
strValue = session.SessionID
If Err.Number <> 0 then
strValue = "0"
Err.Clear
end if
GetThisSessionID = strValue
End Function
Any help would be greatly appreciated.