response.addheader

Response.AddHeader

why Response.AddHeader is used? ...

How to make a server.transfer() with a Response.AddHeader("refresh", "seconds") and not get a 404 error?

Hi all, so this is the scenario: I have a base class for all login-controlled pages: public class SessionControlledPage : Page { protected virtual void Page_Load(Object sender, EventArgs e) { Response.AddHeader("Refresh", Convert.ToString(Session.Timeout * 60 + 5)); if (Session.IsNewSession) { ...