redirect html page if not login
问题 I have simple Login Form on my webpage. It uses javascript to login user and works fine. problem is that is user types the landing page url directly into the adress bar he directly can acess the page without login. i want to redirect him to the login page if he didn't login. below are the links of loding and target page. login: http://samdesign.comli.com/protected/index.html target: http://samdesign.comli.com/protected/user-soft.html and here is the script used are below.. <form> <table align