0

The structure of my website looks like this:

  • Use Clean-URL's (all requests are send to the index.php)

  • At first the Login-page will showed

  • If you Logged-in successful then you will be forwarded to the Home-page (home.php included).

And here is the problem: If you will be forwarded to the Home-page, then in the URL you see still "blabla.../login". Only if you now refresh the site, then the URL change correctly to "blabla.../home".

My question is: After the checkLogin-method was successful, how i can "send" a request to the server?

For example: I need something like this:

    <a href="home"></>
krokvskrok
  • 197
  • 2
  • 10

1 Answers1

0

User header - http://php.net/manual/en/function.header.php

header("Location: home");
exit();
Jay Blanchard
  • 34,243
  • 16
  • 77
  • 119