Capture SessionID with Javascript -


how create link containing sessionid in javascript?

my javascript code (which bring sessionid):

location.href="transpage.asp" 

and asp code brings sessionid:

<% mlink = "rec_edit.asp?objectid=" & mobjectid & "&sessionid=" & request("sessionid") %> 

well quick , dirty be

 location.href="transpage.asp<%= "?objectid=" & mobjectid & "&sessionid=" &  request("sessionid") %>"; 

since asp code rendered server side , js code executed client side work, why pass session id parameter when you're obvisouly staying on same site? sorry beeing curios


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -