P
Peter Kirk
Hi
I need to write a method which accepts a url (string) and redirects to it.
In addition to this I need to either (a) add a parameter to the url; or (b)
add the parameter to the header of the redirect request.
To add a parameter I guess it's as easy as adding "?myparam=myvalue" to the
url (or "&myparam=myvalue" if there already are parameters in the url string
I get).
But how do I add a header? Can I use Request.Headers.Add("myparam",
myvalue), and then do a Redirect?
Thanks,
Peter
I need to write a method which accepts a url (string) and redirects to it.
In addition to this I need to either (a) add a parameter to the url; or (b)
add the parameter to the header of the redirect request.
To add a parameter I guess it's as easy as adding "?myparam=myvalue" to the
url (or "&myparam=myvalue" if there already are parameters in the url string
I get).
But how do I add a header? Can I use Request.Headers.Add("myparam",
myvalue), and then do a Redirect?
Thanks,
Peter