Note that there are some explanatory texts on larger screens.

plurals
  1. POPOST data getting 'lost' somewhere
    text
    copied!<h1>UPDATE</h1> <p>So it turns out internet exploder's stranglehold on "security" to "make up" for being so bad at security was causing my problems. I should have checked that out first haha. Thanks everyone for the input, it has given me ideas on how to optimize my application :D</p> <hr> <p>I am writing a web app (in ASP.NET 3.5) that integrates with a platform app. The platform app takes the user's credentials and puts them into an "empty" HTML page that consists of a form with hidden items containing said credentials and POSTS to the webapp (<strong><code>default.aspx</code></strong>):</p> <pre><code>&lt;HTML&gt; &lt;HEAD&gt; &lt;SCRIPT LANGUAGE=JSCRIPT&gt; function OnLoad(){ try { document.form1.submit(); } catch(e){ } } &lt;/SCRIPT&gt; &lt;/HEAD&gt; &lt;BODY OnLoad="OnLoad()"&gt; &lt;FORM ACTION="http://localhost:51816/gs_ontheweb/default.aspx" METHOD=POST NAME=form1 TARGET="_NEW"&gt; &lt;INPUT TYPE="HIDDEN" NAME="ClientID" VALUE="123456"&gt; &lt;INPUT TYPE="HIDDEN" NAME="Password" VALUE="2830088828"&gt; &lt;INPUT TYPE="HIDDEN" NAME="PracType" VALUE="051"&gt; &lt;INPUT TYPE="HIDDEN" NAME="Encrypt" VALUE="12345620081111"&gt; &lt;/FORM&gt; &lt;/BODY&gt; &lt;/HTML&gt; </code></pre> <p>When my <strong><code>default.aspx</code></strong> page gets loaded up, it calls the following function:</p> <pre><code>Dim ClientID As String = Request.Form("ClientID") Dim PassWord As String = Request.Form("Password") Dim PracType As String = Request.Form("PracType") </code></pre> <p>Each one of them result in empty strings. Any ideas on why this is happening? Thanks in advance.</p> <p>EDIT: Is there something I need to configure in my <strong><code>web.config</code></strong> file to make this work properly? Request.Params("<code>&lt;param name&gt;</code>") does not work.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload