What is a Session Variable?

A session variable is a placeholder field that dynamically resolves to the field it represents during portal usage. For example, an often used session variable is "@portaluser.contactid". This variable can be used inside the "filter" tag of a FetchXML statement that populates a Grid, thereby dynamically filtering the resulting records based on the portal user's contactid. See example of this here.