The application XYZ is developed in ASP. Now I have to retrict the user if he directly access the application with the page under the folder XYZ as http://www.sitepoint.com/XYZ/main.asp. Actually the main DNS can be login through the other portal with proper credentials. The ASP project i mentioned can be accessed when the user came through proper credentils. I have to retrict him if he tries to access the page directly. Please help me how can i achieve this ASP.
As i worked in ASp very long back, not able to do thid. Please help me.
If you're on the same domain and server (cluster) then you could use Sessions to store the login credentials. Then in main.asp (or any other page) simply check for the login credentials and Response.Redirect to the login page if they are not set.
Bookmarks