I am facing a problem by sending data from one page to another page
(I am using one server for sending the data and receiving the data in a different server)
the data is going to the receiving page but i want to display the receiving page in my browser.
Only Form POST (Don't use "GET" Method to use to send the data as a QueryString to the external site)
For Example
Here I am using "Default.aspx" Page for send the data and receiving the data in "RedirectPage.aspx"
I want to display the data in "RedirectPage.aspx" page of my browser what i am sending from "Default.aspx"
I am using WebRequest to send the data and it is hitting the receving page
the problem is the receiving page is not displaying in the browser.
Please help me out to resolve this problem.This is very very urgent for me
Balaji rajendranPosted Dec 17, 2008, 4:53 PM
I really thankful for your reply and i have some more clarification.
In this below setting path value is not a fixed one it is random you will get it from the sourcepage("Default.aspx") (From the source page the will send some redirect page i need to set in the "Path")
type = "youramesapace.myHandler"/>
how i can do it programmatically to set the path.
For Example:
My client will send some redirect page from sourcepage("Default.aspx") and I need to set that value into "Path" attribute of
what are all the data i having in my source page "Default.aspx" (ex: some textbox/dropdown values) that should be available in my redirect page also that we need to achieve thru "FORM POST" .
it is really urgent for me.
Bechir BejaouiPosted Dec 13, 2008, 6:41 PM
public class myHandler:IHttpHandler
{
public void ProcessRequest(HttpContext context)
{
//TO DO leverage here you code
//context.Request.....
.......
//context.Response....
}
public bool IsReusable
{get{return true;}}
}
then in the config file
type = "youramesapace.myHandler"/>
if you plan to deploy it then you have to register the given httphandler within the IIS meta data base