-
JS and session?
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.
-
Re: JS and session?
Short answer: no.
Long answer: it's possible to make requests in the background without reloading the page.
-
Re: JS and session?
yup,
i agree with cornedbee. it is possible for you to process a page without submitting with techniques like xmlhttp. i am not able to guess what you are going to write from javascript to a session variable.. if you clear it then suggesstions can be given.