Home
TeamSite
TeamSite, LiveSite and OpenDeploy
Is it too late ...??
Denise Bowker
We have multiple data centers and don't want to implement "sticky sessions" across servers and we would also like to have our sessions theoretically never time out.
We will be dropping a cookie on the workstation upon login with a maxAge of one year. If you have that cookie (and it's valid) we want to automatically set the session.setLoggedIn(true).
I have all that code working, when the site preController returns session.isLoggedIn() is true. BUT, it appears that LiveSite has already made up it's mind to display the login page by the time my site Precontroller runs.
I'm currently returning null (no forward action) from the preController. You can't do a forwardDispatcher to a .page file (it doesn't work) and I would rather not send a 302 back to the browser.
Any other suggestions?
Find more posts tagged with
Comments
There are no comments yet