Reputation: 191
In my asp.net application one webpage page_load event
protected void Page_Load(object sender, EventArgs e)
{
try
{
string data = string.Empty;
// Determine if session has Single Sign On credentials
if (Request.Form["Rams"] != null)
{
data = RamsLogin();
}
I would like to debug this page from outside the applicaton, How to pass Rams parameter via HTTP post to execute the RamsLogin() method?
Upvotes: 0
Views: 435
Reputation: 57976
The Page_Load
event runs every time the page loads. In your case, the SAMLlogin()
method will execute whenever a client submit a POST
request and inform some value into the samlResponse
variable.
That request is usually made using HTML <form method="POST">
and the samlResponse
variable would be an INPUT
, SELECT
or TEXTAREA
element with the name="samlResponse"
attribute.
I say usually because a program can simulate the same behavior without using any HTML at all.
Upvotes: 1