Forum Discussion
APM Policy Error when logging in "Session cannot be established"
Or could it be that the user bookmarked the logon and the bookmark is directly to the external logon page. If they do this and submit the form, APM won't have a session to associate to it and will issue this error message.
That was the case (and mystery) here. We found out that the user was clicking on a bookmark they had made.
Hm, I may have been able to solve this after all... I came accross this page: https://devcentral.f5.com/wiki/APM.AcceptPostedCredsfromExternalSite.ashx.
In that example, after the block that checks if the credentials are set, you get redirected to the "External Logon Page". Instead of that, I made an ending "Redirect" to this logon page with also closing the session.
Instead of POST-ing to "/my.policy" (which requires you to have a session), we post to the "/fake" and that way a new session will be created if it doesn't exist yet.
I need to check this thoroughly of course, but thought I'd share the approach here anyway.
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com