Sessions

while going through the source code of wildfire2.4.4, to get the presence status of users, i found they use the no. of ‘‘sessions’’ the user is in. what exactly does this session mean?