Mail Archive Home | enhydra List | January 2005 Index
| Date Index --> | Thread Index --> |
Hi all,
when the URL based session tracking is used (i.e. either cookie are
disabled or the "SessionEncodeUrlState" is set to "Always" in the config
file) then ClientPageRedirectException loses session when used from the
very first page in the application. I don't have a proper patch for
this, just a quick and dirty workaround in the application code:
===
if (comms.session.getHttpSession().isNew()) {
url += ";jsessionid=" + comms.session.getHttpSession().getId();
}
throw new ClientPageRedirectException(url);
===
It would be best fixed in the Enhydra core itself, preferably in the
upcoming 5.1.x bugfix release ;-)
Petr
| Date Index --> | Thread Index --> |
Powered by MHonArc.
Copyright © 1999-2005, ObjectWeb Consortium | contact | webmaster.