Permitir solo el acceso desde pagina determinada |
Post Reply |
Author | |
Programador
Expert@ Joined: 09 Mayo 2009 Location: San Pedro Alc. Status: Offline Points: 54 |
Post Options
Thanks(0)
Posted: 09 Mayo 2009 at 4:40pm |
Este sencillo script o codigo consigue o mejor dicho evita que un visitante o usuario acceda a nuestras paginas si no es directemte desde una pagina que hayamos definido en el codigo:
<%
If request.servervariables("http_referer") = "http://www.tutores.org/mi_mipagina.asp" Then response.write"SI has accedido al sistema" Else Response.Write "No has accedido desde la pagina que yo queria" End If %> |
|
Sponsored Links | |
Post Reply | |
Tweet |
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You can vote in polls in this forum |