Ver Mensaje Individual
  #4 (permalink)  
Antiguo 24/02/2002, 13:53
jasistemas
 
Fecha de Ingreso: mayo-2001
Mensajes: 452
Antigüedad: 24 años
Puntos: 1
Re: Includes y asp

Lo que con include no puede ser una variable... lo harias con el execute, mas o menos asi:
if pagina = "" or isnull(pagina) then
Response.Cookies("Noticias").Expires = Date()
Response.Cookies("Noticias")("iD&qu ot;) = 1
id = 1
pagina = "noticias/display.asp"
'********************************************
' CODIGO QUE EJECUTA LA PAGINA SOLICITADA EN EL MENU
Server.Execute pagina
'********************************************

else
'********************************************
' CODIGO QUE EJECUTA LA PAGINA SOLICITADA EN EL MENU
Server.Execute pagina
'********************************************

end if
%>