Is it possible to write a session varible from JS instead of writing an URL?
Code:
function data6()
{location.href = "gf2004.aspx?seg=data6";}
The disadvantage of the code above is that the page is loaded again. Using a session the page will not have to reload.

The function is activated when clicking my menubar which is written in JS.