(repost from other location)
Hi, I am PS62 and just signed up. I do not know where to post my question so I just do it here. I am sorry if it is wrong. My problem: I have this web page out there which I have pass protected. The problem is that I am using an applet and that is only protecting my index page. I would like the visitors to log in from that page but all they actually have to do is bookmark all the other html pages and log in from there after that. I am wondering if there is a java script which could activate if someone is loging in from any other place than my welcome page (index.page). I would very much appreciate if someone could direct me to that place or send it to me at <!-- e --><a href="mailto[email protected]">[email protected]</a><!-- e --> Thanks and all the best to you.
PS62sounds like you just need to use some server side programming to evaluate the current status of the user. Set a session variable... loggedIn=true if they are logged in. then on each page, check the status of the session variable loggedIn. If it is true, render the page... if not, goto login page.
You could do this client side with Javascript.... but all the user would have to do is copy the URL header to get into the page.
Hi, I am PS62 and just signed up. I do not know where to post my question so I just do it here. I am sorry if it is wrong. My problem: I have this web page out there which I have pass protected. The problem is that I am using an applet and that is only protecting my index page. I would like the visitors to log in from that page but all they actually have to do is bookmark all the other html pages and log in from there after that. I am wondering if there is a java script which could activate if someone is loging in from any other place than my welcome page (index.page). I would very much appreciate if someone could direct me to that place or send it to me at <!-- e --><a href="mailto[email protected]">[email protected]</a><!-- e --> Thanks and all the best to you.
PS62sounds like you just need to use some server side programming to evaluate the current status of the user. Set a session variable... loggedIn=true if they are logged in. then on each page, check the status of the session variable loggedIn. If it is true, render the page... if not, goto login page.
You could do this client side with Javascript.... but all the user would have to do is copy the URL header to get into the page.