Session variables allow web developers to store visitor information by setting a variable that is accessible to the application for the duration of a web visitor his/her session. Unless specified otherwise, session variables expire 20 minutes after a visitor leaves the site.