PROPERTY:  Session.SessionID

The SessionID property returns the unique session identifier for the current user. The identifier is generated by the server and is a Long data type.

Code:
 
<% Response.Write "Your Session ID is " & Session.SessionID %>
 
Output:
Your Session ID is 465107831
Copyright 1999-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information