Lost session problem ...again

Steve Smith <[email protected]> Fri, 31 Oct 2003 01:44:09 -0800 (PST)
Newsgroups gmane.comp.web.maverick.general
Message-ID <[email protected]>
Hi, I started playing with maverick a couple of months
ago. After some test applications, I decided to use it
in a project. 
In my pc (win2k, jboss3.2.1_tomcat4.1.24) everything
works fine. But in a Solaris, I lose the session. I
use the jsessionid in the URL. Without Maverick, it
works, but even with the updated version from cvs of
Maverick, it doesn't. Any suggestion?

Here are some scripts:
-The failure of Controller to get an attribute from
the session:

    String ust =
(String)this.getCtx().getRequest().getSession().getAttribute("usrid");
    log.info("--- GroupsList: userid="+ust);
    
	..always returns userid = null

- maverick.xml:
	<views>
		<view id="grplist" path="GroupsList.jsp">
		</view>
	</views>
	<commands>
		<command name="groupslist">
			<controller class="project.mav.GroupsList"/>
			<view name="loginFailed" ref="loginFailed"/>
			<view name="success" ref="grplist">
			</view>
		</command>
	</commands>


- main page:
<% String sessionid = request.getSession().getId(); %>
<a class="menu"
href="groupslist.m;jsessionid=<%=sessionid%>">Manage
groups</a>

if i use href="GroupsList.jsp;jsessionid=<%sessionid%>
without any use of maverick, it works.

thanks
stefka

__________________________________
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears
http://launch.yahoo.com/promos/britneyspears/


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
[INVALID FOOTER]