Page 1 of 1

Masking URL

Posted: Mon Jul 26, 2010 1:08 pm
by emilcarlo
Good evening,

I know this is a real noob question. What I want to do is mask the url of my internal website. I have searched around the net on how I will be able to achieve this, but most have opposed on that trick. What happens is, after my login is validated, the main page is opened up. However, when I tried the url when it opened the page, it bypassed the login page T_T the only way I can think of is to mask the url T_T

Re: Masking URL

Posted: Mon Jul 26, 2010 1:14 pm
by AbraCadaver
No, you check to see if they are loggedin on pages that require them to be loggedin, such as the main page. If not, redirect them to the login page.

Re: Masking URL

Posted: Mon Jul 26, 2010 1:31 pm
by emilcarlo
AbraCadaver wrote:No, you check to see if they are loggedin on pages that require them to be loggedin, such as the main page. If not, redirect them to the login page.
Thanks Abra for the prompt and fast reply, I really appreciate it. However, I'm a low level php programmer and needs guidance. I understand what you said, but I am afraid I don't know what to type in the google. I hope you can help me, thanks very much.

Re: Masking URL

Posted: Mon Jul 26, 2010 1:37 pm
by AbraCadaver
What code are you using to log someone in? You need to find a PHP tutorial on user authentication.

Re: Masking URL

Posted: Mon Jul 26, 2010 1:59 pm
by emilcarlo
I found this one out, and somehow I am able to comprehend how it was written, though I am still in the process of absorbing how everything is working http://swish-db.com/tutorials/view.php/tid/601

Re: Masking URL

Posted: Mon Jul 26, 2010 2:55 pm
by emilcarlo
I think it's working now ^^ Thanks for your time :)