Page 1 of 1

Web Session ID

Posted: Fri Aug 07, 2009 2:23 pm
by ConvertFromOldNGs
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

Re: Web Session ID

Posted: Fri Aug 07, 2009 2:23 pm
by ConvertFromOldNGs
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

Re: Web Session ID

Posted: Fri Aug 07, 2009 2:23 pm
by ConvertFromOldNGs
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?

Re: Web Session ID

Posted: Fri Aug 07, 2009 2:23 pm
by ConvertFromOldNGs
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.