Click to See Complete Forum and Search --> : How to avoid direct URL entering problem in vb.net


rskshiva
01-06-2005, 04:18 AM
Hai everybody,

In my vb.net project, i need to include the below functionality.
If any one will enter the URL directly using address bar after login into the site, it should redirect the user to login page. Users has to browse the site using the links only. But now it is not redirectign the user.How to avoid this problem? I had tried

If Request.UrlReferrer.ToString = "" Then
response.redirect ("logout.aspx")
end if

But it is nor working.

pls suggest me.

Regards,
Siva R

Khalid Ali
01-06-2005, 07:55 AM
you posted in wrong forum, please post your questionin .NET forum.