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
Post a Comment