I have the following problem... I want to set a session variable when clicking on a normal link like:
home
Is your link to another web page? If so, perhaps you could put the variable in the query string and set the session variable when the page being linked to is loaded.
So the link looks like this:
home
And the homge page would parse the query string and set the session variable.