rskshiva
01-06-2005, 08:07 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
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