Forum Discussion
iRule for application cookie with LTM and APM
I wonder if anyone can help. I work for a company that has just acquired some LTMs and APM module.
I have a web application that I intend to protect with APM.
We want to use an external logon facility that will allow users to access the web app. This seems straight forward in APM. Throw up a logon page, http post etc.
But our authentication service will generate two cookies.
The first will create the authentication cookie - I guess APM sorts that out?
The second is a session cookie used to maintain sessions with the web app after successful logon.
Neither of these must ever be passed back to the users browser.
However, if a session drops I need to allow the user to rejoin that session without creating a new one.
havent used irules much so is this something that sounds possible? I guessing some HTTP-RESPONSE events...
Thanks
James K
- Colin_Walker_12Historic F5 AccountSo you want the cookies to exist, but not be stored in the client, and be stateful across multiple connections by the same client if they drop and re-join? Sounds hairy, but possible. You'd need to store the info in memory and associate it with the client somehow. I assume there's some unique identifier that you already have laid out to accomplish this?
- N_65943
Nimbostratus
Hi - Wand_97484
Nimbostratus
Hi, - Asim_Sharfuddin
Nimbostratus
Hi,
I have some of my application hosted in DR and HO and APM does the single sign on. when I connected to HO, I am able to do a single signon to all my application, but the application which are in DR APM presents the authentication page and I am logged out of HO. since HO and DR uses same MRHsession and LastMRH_session cookie I beleive this is the possible cause of session logout.
Is it possible to rename the default APM cookie, such that I can login to HO and DR at the same time?
Best Regards,
Asim Sharfuddin
- Mandrake
Nimbostratus
Hi,
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