Sunday, 20 October 2013

Transfer values from asp to aspx

<div dir="ltr" style="text-align: left;" trbidi="on">
&lt;% dim get_ip get_ip=Request.ServerVariables("server_name") get_ip="http://"&amp;get_ip&amp;"/TEST/CheckFormIdentity.aspx" %&gt; <html><script type="text/javascript">
    function PageSubmit() {
        document.frm.method = "post";
        document.frm.target = "_blank";
        document.frm.submit();
        window.history.back();
    }
</script>&lt;%
    Response.Write("<form action="&quot;&amp;get_ip&amp;&quot;" id="frm" method="post" name="frm">
")   
    Response.Write(" <input name="UserId" type="hidden" u_id="" value=" &amp; Session(" />")   
    Response.Write(" <input name="FRM_Code" type="hidden" val="" value=" &amp; Request.QueryString(" />")   
    Response.Write("</form>
")
    Response.Write("<script>PageSubmit();</script>")
%&gt;
</html></div>