redirecting to other pages and nav bar gets lost

redirecting to other pages and nav bar gets lost

Hey everyone,

I'm having a trouble with the navigation bar when redirecting users to other pages. For example, if a user logs in, then they will be redirected to the main page (mysite/index.php) but the url displays as mysite/login.php which is the pure PHP script that doesn't contain any HTML lines in it.  I guess that is fine, but the nav bar on the main page disappears unless I refresh the page to get it back.


I hope to hear from someone here. cheers