This is documentation for Mathematica 5, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

Documentation / Mathematica / Built-in Functions / Programming / Scoping /

$SessionID

FilledSmallSquare $SessionID is a number set up to be unique to a particular Mathematica session.

FilledSmallSquare $SessionID should be different for different Mathematica sessions run either on the same computer or on different computers.

FilledSmallSquare The value of $SessionID is based on $MachineID, as well as AbsoluteTime[ ] and operating system parameters such as the Mathematica process ID.

FilledSmallSquare See Section 2.7.3 and Section 2.14.5.

FilledSmallSquare See also: $ModuleNumber, $ProcessID.

FilledSmallSquare New in Version 2.

Further Examples