ASP.NET - ayuda con ingreso de codigo global.asax, por favor

 
Vista:

ayuda con ingreso de codigo global.asax, por favor

Publicado por auxilio (1 intervención) el 08/08/2007 16:48:53
inreso el response en el metodo inicial asi:

void Application_Start(object sender, EventArgs e)
{
// Code that runs on application startup

Response.CacheControl = "no-cache";


}

y me da este error:

System.Web.HttpException: Response is not available in this context.

Source Error:

Line 15:
Line 16:
Line 17: Response.CacheControl = "no-cache";
Line 18:
Line 19:

POR FAVOR AYUDENME, HE PERDIDO DEMASIADO TIEMPO CON ESTO :(
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder