--- daveck <[EMAIL PROTECTED]> wrote:
> > Try making a copy of the request parameter map and storing that instead.
> Made copy but didn't solve the problem.
>
> Map parameterMap - request.getParameterMap();
> session.setAttribute("PARMS", parameterMap);
Just for completeness, this isn't making a
I forgot to say, after trying everything, you can add an
HttpSessionAttributeListener to your application and see when the
value is nulled out/replaced.
http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/http/HttpSessionAttributeListener.html
musachy
On Feb 6, 2008 12:25 PM, Musachy Bar
Is the value in the session null or an empty map? If it is an empty
map, the reason might be that when you set the value in the session
between requests, the request doesn't have any parameters, setting the
value to an empty map.
musachy
On Feb 6, 2008 11:55 AM, daveck <[EMAIL PROTECTED]> wrote:
In case I wasn't clear... the attribute "PARMS" exists but loses it value.
--
View this message in context:
http://www.nabble.com/Losing-Session-Attributes-tp15298791p15307254.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
Laurie Harper wrote:
>
>
> Are you sure? Have you confirmed that the session is the same in both
> requests?
>
Yes, by checking the session id throughout the process.
Laurie Harper wrote:
>
>
> getSession(true) will create a session if one doesn't exist on the
> request. If the session
I'm losing the quest-input.jsp form attributes. Probably 3 out of 4 times.
Session ID remains the same throughout the process. Here is part of my
applicationContext.xml
I'm not quite sure what you mean by needing to configure in session
attributes.
mgainty wrote:
>
> you'll definitely n
you'll definitely need configure in session attributes as in
which session attributes are you losing?
M--
- Original Message -
Wrom: MYXOEAIJJPHSCRTNHGSWZIDREXCA
To:
Sent: Tuesday, February 05, 2008 3:24 PM
Subject: Losing Session Attributes
>
> Hi,
> I'm looking for some help,
daveck wrote:
Hi,
I'm looking for some help, or some input on why I might be losing session
attributes (Not the session itself).
Are you sure? Have you confirmed that the session is the same in both
requests?
[...]
I am setting session attributes in my interceptor to have available
followi
Hi Laurie,
The JSESSIONID is being appended to the URL, but what I noticed is that the
URL displayed at the bottom of the browser when I hover over the button that
opens the pop-up has a wrong action in the URL.
Say it should ideally have
http://localhost:8080/VWS/surveyorLookUp.do;jsessionid=12
If you have cookies disabled, the most likely explanation would be that
the URL you use to open the pop-up is not correctly encoded; make sure
it includes the jsessionid. If that's not the problem, try posting the
JSP and/or Javascript code responsible for opening the 'faulty' page.
L.
Shardu
Hi All,
I am facing a similar problem. I am using Struts 1.2.
I am setting session attributes in an Action -- say Action A. Then I move to
the next page and on this page I open a pop-up which calls another Action
-- say Action B.
Now, when I try to access the attributes set by Action A in Acti
Are u using Struts 1.x or 2 ? -- please paste the code from struts xml
and how you are doing the redirect? ; will attempt to answer after
that.
-Joseph
On 8/17/07, Paul Benedict <[EMAIL PROTECTED]> wrote:
> If you switch domains or ports, you will lose your session. Sessions are
> usually tied to
If you switch domains or ports, you will lose your session. Sessions are
usually tied to cookies which have these restrictions.
On 8/17/07, Diego Ezquerro <[EMAIL PROTECTED]> wrote:
>
> Hi to everyone.
>
> I have a problem with the session attributes in my struts app.
> I have a login page that ch
Nevermind folks... I found it.
I found a particularly inventive way of shooting myself in the foot when
I installed a session listener.
The offending line:
session.setMaxInactiveInterval(3600);
which was set originally to a ridiculously low value. That's what I get
for developing code while
14 matches
Mail list logo