Jump to content

[SOLVED] Redirection?


jrws

Recommended Posts

What I am wondering is how people redirect users to pages I will give an example to clarify:

 

User enters a site where some pages are only accessible by being registered/logged in and other pages are not. User enters a page where login is required and logs in. He is then able to continue looking at the page instead of being redirected to the main page.

 

Obviously this is accomplished by a header, but what does the header contain?

Please and thank you.

Link to comment
https://forums.phpfreaks.com/topic/115180-solved-redirection/
Share on other sites

Not quite what I mean.

This is what I mean

Articles.php require login, user presses on link to go to articles.php and since they are not logged in go to login.php (this would use sessions).

User would then login/signup and then be redirected to the page they where previously on. Does this make it move understandable?

Link to comment
https://forums.phpfreaks.com/topic/115180-solved-redirection/#findComment-592269
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.