RobertT
12 years agoBoss
Page Initialisation - Cookie Detection
We're looking at implementing a page initialisation script in our environment which detects users who happen to have our SSO cookie present but not the lithium cookie used to indicate the user is log...
Sign in to react to this post
- 12 years ago
What error do you get?
You could also try getting the cookie via http.request.cookies:
<#assign has_sso_cookie = http.request.cookies.name.get("mainsiteSSO") /> <#if user.anonymous && has_sso_cookie?? > ${http.response.setRedirectUrl(webUi.getUserLoginPageUrl)} </#if>