Web Session ID

Forums for specific tips, techniques and example code
ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Web Session ID

Postby ConvertFromOldNGs » Fri Aug 07, 2009 2:23 pm

by Stephen Persson >> Fri, 28 Apr 2000 3:30:00 GMT

Does anyone know how to find out the encrypted session ID (Eg, 01531449e133e46) for a web session, from within the application?

Stephen

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: Web Session ID

Postby ConvertFromOldNGs » Fri Aug 07, 2009 2:23 pm

by John Eyers >> Sun, 30 Apr 2000 20:23:31 GMT

It's in integer property session of the WebSession class.
The value for the current transaction will be in currentSession.sessionId

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: Web Session ID

Postby ConvertFromOldNGs » Fri Aug 07, 2009 2:23 pm

by Stephen Persson >> Sun, 30 Apr 2000 20:53:28 GMT

Thanks,
But what I meant was the encrypted session ID passed to the browser - I think it is
some encrypted combination of the integer session ID and the timestamp for when the connection was made.
Any ideas?

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: Web Session ID

Postby ConvertFromOldNGs » Fri Aug 07, 2009 2:23 pm

by Craig Shearer >> Sun, 30 Apr 2000 20:59:33 GMT

You could always write a method such as:

getEncryptedSessionId(): String;
begin

return _encryptedSessionId;
end;


Hope this helps :-)

Craig.


Return to “Tips and Techniques”

Who is online

Users browsing this forum: Bing [Bot] and 24 guests