Access Server variable from Javascript in ASP.NET
Hi,
I need to redirect an aspx page to ASP pages (3 pages one after another).Currently I am using the following VBscript code in the ASP
<SCRIPT language=vbscript>
MsgBox("Click 'OK' to continue.")
Parent.frm.location = "create.asp"
Parent.frm1.location = "Select1.asp?Level=<%=Session("nlev)%>"
Parent.frm2.location = "Select2.asp?ca_id=<%=Session("CAID")%>"
</SCRIPT>
But, I don't know, how achieve this in ASPX. If I use server.Transfer I am not getting the control back to the next redirection in the code behind. If I use the above code I don't know how to use the session variables in the Aspx client side.
Really appreciate the help.
Thanks
Sam
|