Function in ASP
Function is a simple way to predefined rules and action. Reusable action should be kept in function to minimized the coding of ASP.
Session in ASP
Sessions are a safer, more effective alternative to cookies. This tutorial will teach you how to use sessions in ASP.
Sessions are defined as a unique visit to a particular website and it's child pages. Each session can contain data, and the data in the session variables are user-specific. This data is stored during the entirety of the session, and is only accessible by the ASP pages which the user views or executes.