krabu Posted December 13, 2009 Share Posted December 13, 2009 i have web page containing links to files and some other links. A login is required to access the page but problem is if user accesses one of these links directly, It opens and does not ask for a login. I am using xampp. Plz help Quote Link to comment Share on other sites More sharing options...
vinpkl Posted December 13, 2009 Share Posted December 13, 2009 at the time when the user gets login, create a session. and in all pages add a condition to check whether session is set or not. if session is false redirect them to login page. vineet Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.