Ver Mensaje Individual
  #10 (permalink)  
Antiguo 14/01/2008, 17:51
tavitooo
 
Fecha de Ingreso: julio-2006
Mensajes: 368
Antigüedad: 18 años, 9 meses
Puntos: 2
Re: AUXILIO!! Problemas con Session

BUENO ahora si me liga lo estoy haciendo con COOKIES y mucho mejor peroooooooo!! cuando quiero regresar al ingles no lo hace :( osea me funciona en español y cuando le doy click a otros links y regreso me deja con el español pero ahora cuando le doy click en ingles ya no lo devuelve como antes buuuu este es el code CREO Q ME FALTA MATAR EL COOKIE COMO LO HAGO?:

var_language = request.cookies("language")

if var_language = "1" or var_language = "" then
'English
SQL2 = "select * from content_menus where id = 1"
Set rs2 =conexion.execute(SQL2)
else
'Spanish
SQL2 = "select * from content_menus where id = 14"
Set rs2 =conexion.execute(SQL2)
'Session.Abandon
end if


<a href="index.asp"><%response.cookies("language")=1% ><img src="images/english.gif" alt="Translate To English"></a>


<a href="index.asp"><%response.cookies("language")=2% ><img src="images/spanish.gif" alt="Traducir al Español"></a>