[opencms-dev] Multi Site Login problem - REVISED
Christian Steinert
christian_steinert at web.de
Mon Sep 11 18:52:18 CEST 2006
> I could fix the proble if only there was a way to set the CURRENT SITE on the
> fly, but I couldnt find it. Can somebody help me, please.
Dear Angelo,
cmsObject.getRequestContext().setSiteRoot( ... )
should do exactly this - it sets the current site.
If you set a different site root then you have shifted the user to a different site and for that user all future requests will use that other site.
So, if you want to shift your users to a different site, then you have to call setSiteRoot with a different Parameter value (at least if I understand you correctly. If not, please ask again).
christian
_____________________________________________________________________
Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
http://smartsurfer.web.de/?mc=100071&distributionid=000000000066
More information about the opencms-dev
mailing list