One way would be to place a logged-in valid value in your Session object for
this user. Each page checks the Session object for this value, and
redirects to an error page if it's not set correctly. Each user has a
unique Session object in ASP .NET.
"Luqman" <pe*******@cyber.net.pkwrote in message
news:ew***************@TK2MSFTNGP04.phx.gbl...
How can I Prevent user from accessing any page directly without Login ?
User should not be able to by pass the Login screen by typing the Url of
any
page directly.
I am using ASP.Net 2.0 with Visual Studio 2005.
Best Regards,
Luqman