![]() |
Sergey Kornilov admin 8/24/2011 |
Try something like this: if ($_SESSION["GroupID"]=="Admin") |
![]() |
mcebula author 8/25/2011 |
Thanks Sergey, that fixed the issue for guests logging in. |
![]() |
Sergey Kornilov admin 8/26/2011 |
Mike, if ($_SESSION["GroupID"]=="Admin") |
![]() |
mcebula author 8/29/2011 |
Thanks Sergey. That works for logging in as guest (get the menu) and logging as in known user (they get landing page) but the links still go straight to menu which isn't the best (menu shows link came in as a guest too). |
![]() |
mcebula author 9/29/2011 |
Sorry I'm back to this again. I was using the menu as a "work around" but I really don't like having the "pre menu" after login because my application has a horizontal menu so dumping the users to a specific page and letting them work with the normal menu makes more sense to me. if ($_SESSION["MyURL"])
|
C
|
cgphp 9/29/2011 |
When the "After successful login" event is performed, the $_SESSION['MyURL'] doesn't seem to exist. I can retrieve it only in the "Login page: before process" event. |
![]() |
mcebula author 9/30/2011 |
Interesting discovery Cristian thanks for checking that. Does that imply that it is a bug that myurl is not available in after successful login? if ($_SESSION["MyURL"]) |
C
|
cgphp 9/30/2011 |
if ($_SESSION["MyURL"]) |
![]() |
mcebula author 9/30/2011 |
Thanks for the syntax correction. I tried that in 2 places.
if ($_SESSION["MyURL"])
if ($_SESSION["MyURL"])
|