C
CCY
Hi,
Is there a way to convert GET/QueryString to POST/Form when transfer
pages using Server.Transfer()?
For example,
1. page 1 url: http://domain/page1.aspx?name1=value1
2. page 2 url: http://domain/page2.aspx
I have no access to page2.aspx and it is coded to only handle POST
request. I also can't change page1.aspx to use POST, it must be using
GET.
Given above condition, when I call Server.Transfer("/page2.aspx")
inside page1.aspx, how do I pass the name1=value1 to page2.aspx?
Thanks in advance.
CCY
Is there a way to convert GET/QueryString to POST/Form when transfer
pages using Server.Transfer()?
For example,
1. page 1 url: http://domain/page1.aspx?name1=value1
2. page 2 url: http://domain/page2.aspx
I have no access to page2.aspx and it is coded to only handle POST
request. I also can't change page1.aspx to use POST, it must be using
GET.
Given above condition, when I call Server.Transfer("/page2.aspx")
inside page1.aspx, how do I pass the name1=value1 to page2.aspx?
Thanks in advance.
CCY