-
- 44 Posts
I am using the WebLogin snippet. If I am sitting on a restricted page (only people from a certain group can view it) when I logout, I get redirected to the Unauthorized page rather than, say, the site start. This happens whether I am in the manager or not. Anyone else run into this problem? I surfed around a bit in the forums and did not see anything addressing this problem, so did I miss something?
Thanks in advance.
P
There are two ways to deal with that. Have your "unauthorized" page be the login form page, or the home page, or whatever page you want users to go to when they log out.
The other way is to specify the page to go to on logout in the snippet call parameters using &logouthomeid.
-
- 44 Posts
Thanks very much sottwell! (I will choose option 2...)
P
-
- 44 Posts
I tried
[!WebLogin? &logouthomeid=`2`!]
and
[!WebLogin? &lohomeid=`2`!]
and
[!WebLogin? &logouthomeid=`2` !]
and none of the above take me to page 2 (the home page for the site). I do have the unauthorized page specified (and that is where I end up). Am I doing something obviously wrong?
Again, thanks in advance.
P
-
- 44 Posts
I just started using WebLoginPE. It does the trick very nicely. Color me done.