Better re-directions
-
Scenario #1
User goes to protected content URL like mysite.com/members/coolstuff. Either directly by pasting an URL or clicking on a link somewhere. The user is not logged in. I would like this to automatically re-direct to the login screen. How do I accomplish that?
Scenario #2
The user goes to the login screen, either by clicking a menu item or by pasting an URL into the browser. The user is already logged in when doing so. I would have expected the user to be re-directed to mysite.com/members/coolstuff since they’re already logged in, but it simply shows something similar to the login screen but instead given the choices of editing the profile and/or logging out. How do I make it automatically re-direct to the protected content if the user is already logged in.
- The topic ‘Better re-directions’ is closed to new replies.