I ended up just specifying by webShortname, this won’t pose a security flaw if they were to some how change their SESSION information would they?
-
☆ A M B ☆
- 24,524 Posts
Those were some artifacts and bugs in the WebLoginPE snippet. I’ve corrected them. Now on the article on sessions on my site you get the array of web groups the user belongs to.
[webUserGroupNames] => Array
(
[0] => testing
[1] => testing2
[2] => testing3
)
-
☆ A M B ☆
- 24,524 Posts
Web shortname is just their login name. Are you using webloginpe, or the weblogin snippet that comes with the MODx installation?
-
☆ A M B ☆
- 24,524 Posts
then your session will display the webgroup names. It was a bug in WebLoginPE that wasn’t displaying them.
I’m trying to accomplish something along the same lines where I’ve got two web user groups and I want to send the users of each group to a different profile page.
When checking the session info I’m running into the empty array issue. (I’m using webLoginPE) Is there a fairly simple workaround for this, or do I need to switch back to webLogin?