Is the namespace the same as what is defined in your struts.xml? Have you tried namespace="/secure" for instance?
Regards, Randy Burgess Sr. Software Architect D5 Systems, LLC > From: Michael Obster <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <user@struts.apache.org> > Date: Thu, 10 Jul 2008 19:52:53 +0200 > To: Struts Users Mailing List <user@struts.apache.org> > Subject: getting Session from one to another namespace - possible? > > Hi, > > I've a problem with holding the session between two namespaces. > I defined 3 namespaces: > - /: The unsecure namespace > - /secure: The secure namespace -> user has to be logged in > - /usermanager: The special secure namespace -> user has to have > permission to get there > > The LoginAction forwards the user into the secure namespace. There I > have a menu with > <a href="<s:url action="action1" namespace="secure"/>">link1</a> > <a href="<s:url action="action2" namespace="secure"/>">link2</a> > <a href=" > <s:url action="action3" namespace="usermanager"/> > ">link3</a> > > When I switch to the action2 the session is hold. Switching back to > action1 works as well. > But if I switch to action3 I get the right page, but switching back to > action1 or action2 I get the login page. After some debugging I've seen > that the session was killed. After some further debugging I've seen that > this only happens when I switch the namespace. > > Has anyone an idea, what I did wrong? > > Regards, > Michael > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]