Forum Discussion
Yozzer
Mar 17, 2012Nimbostratus
sub domain session cookies
Just a bit of background on what i hope an irule can help me to achieve.
I want to send SAML tokens to a sub domain and the resulting session cookie that’s returned from a successful login needs to appear to be from the domain not the sub domain. Is this possible? Both domains will be able to access the same DB so the session cookie set from the sub domain can be read by the host domain.
As an example, host.com is the site that i want to login to. To login i need to send SAML tokens to a sub domain called sso.host.com. This sub domain will then process the SAML token and return a session cookie. Can i use an irule to set the returned session cookie for the host domain (host.com) instead of from the sub domain (sso.host.com)?
Thanks
- hooleylistCirrostratusHi Yozzer,
- YozzerNimbostratusThanks Aaron
- YozzerNimbostratusHi
- nitassEmployeeBut when i looked at Firefox in the cookie container, it hadnt been set for the 10.1.1.1 address which is what i was expecting however i couldnt see the cookie associated with the new .host.com domain.just wondering if browser allows cross domain cookie.
- hooleylistCirrostratusI'm fairly sure the browser should accept a cookie set for .host.com in response to a request made to subdomain.host.com:
- YozzerNimbostratusYes, it works fine for sub domains. thanks Aaron
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects