-
- 1,624 Posts
Hi, I have a protected page[171] that you can access easily via the Web Login page in another page[172].
[[WebLogin? &loginhomeid=`171,172` &logouthomeid=`172`]]
My problem is that if I go directly to 172 I get "Authentication Required" message. Please see the image
The page is assigned to a group of documents and to a user group. As I said when I login I get redirected to the correct page but when I try to access the protected page directly I get the "Authentication Required" message. Entering the normal user and pass has no effect.
More Details:
Modx 0.9.6.3
Windows/IIS
PHP Version 5.2.5
Any help appreciated
Thx
-
- 2,877 Posts
Why do you want to send users who login to the same page you send
users who logout?
I think the user has to be sent to a restricted page and if it’s left out you
get directed to the first in menuindex order (could remember wrong)
Maybe make a weblink restricted(?), or send the user by a snippet?
[!Think you need to call un-cached...!]
-
- 1,624 Posts
Isn’t that the way it’s supposed to work?
I login on 172 and redirect to 171 when the username and pass is correct.
On logout from 171 I go to 172 which is the login page.
BTW, even using un-cached I get the same message
-
- 2,877 Posts
-
- 1,624 Posts
Hi guys,
Any ideas on this issue. I still could not find the problem
Thx
-
- 103 Posts
Your image looks like an .htaccess authentication request from the webserver itself, rather than modx.
-
- 1,624 Posts
Yes, but why?
None of the pages had it until I stated using WebLogin 1.0.