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
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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.