N
newsgroup.poster
I need to set a custom http header before perform http redirection.
I do
response.AppendHeader("aCustomHeader", "aCustomValue")
response.Redirect("anUrl")
and my added header doesn't show up, it seems to be erased, if I
remove the redirect, it does.
Looking at Redirect documentation (http://msdn.microsoft.com/en-us/
library/t9dwyts4.aspx) it doesn't explain why the behaviour is
occuring.
How can I workarround this issue?
Am I forced to implement my own redirect?
Thanks,
Gauthier Segay
I do
response.AppendHeader("aCustomHeader", "aCustomValue")
response.Redirect("anUrl")
and my added header doesn't show up, it seems to be erased, if I
remove the redirect, it does.
Looking at Redirect documentation (http://msdn.microsoft.com/en-us/
library/t9dwyts4.aspx) it doesn't explain why the behaviour is
occuring.
How can I workarround this issue?
Am I forced to implement my own redirect?
Thanks,
Gauthier Segay