variable becoming null..any specific settings
that I need to check ?
-Original Message-
From: MUKUND Premchander [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 21, 2004 12:23 PM
To: Tomcat Users List
Subject: RE: SESSION PROBLEM in UNIX
Hi,
Thank you for your inputs.
I couldn't implement
message.
-Yan
-Original Message-
From: MUKUND Premchander [mailto:[EMAIL PROTECTED]
Sent: April 23, 2004 04:49
To: Tomcat Users List
Subject: RE: SESSION PROBLEM in UNIX
HI ,
Any suggestions on the problem reported below .I would like to add
another point that this works perfectly in Linux
Forgot to include the line:
request.getSession.invalidate();
should be sufficient, I hope.
-Yan
-Original Message-
From: Yansheng Lin [mailto:[EMAIL PROTECTED]
Sent: April 23, 2004 10:08
To: 'Tomcat Users List'
Subject: RE: SESSION PROBLEM in UNIX
Hi
Good. You are making progress
, 2004 7:53 PM
To: Tomcat Users List
Subject: Re: SESSION PROBLEM in UNIX
MUKUND Premchander wrote:
I am using tomcat 3.2 not tomcat 4.0 hence as per your suggestion
I did try and implement HttpSessionBindingListener and put the object
into the session in the same jsp ,
the valueBound
Subject: Re: SESSION PROBLEM in UNIX
MUKUND Premchander wrote:
Thank you for your reply .
I use IE 6 as my browser in windows and tomcat on HP unix.
I meant that ,all I did was open a browser window load my application,
goto a particular page Set page to refresh for every 10 secs
MUKUND Premchander wrote:
I am using tomcat 3.2 not tomcat 4.0 hence as per your suggestion
I did try and implement HttpSessionBindingListener and put the object
into the session in the same jsp ,
the valueBound was called but when the session access threw null pointer
exception valueUnbound
Subject: RE: SESSION PROBLEM in UNIX
hi,
Thank you for your reply and suggestion .
I have only one user and one browser window and I get this problem .
I also like to mention that in the starting of the JSP if I added a line
of code like session = request.getSession(false),
then I don't get
Users List'
Subject: RE: SESSION PROBLEM in UNIX
Do you know how the session is being tracked in the browser? Cookie,
url? Are you saying you use the same browser in each case? Can you log
the http traffic?
Martin
-Original Message-
From: MUKUND Premchander [mailto:[EMAIL PROTECTED
MUKUND Premchander wrote:
Thank you for your reply .
I use IE 6 as my browser in windows and tomcat on HP unix.
I meant that ,all I did was open a browser window load my application,
goto a particular page Set page to refresh for every 10 secs(
application had a combo box to set interval of
Hi, How about implementing HttpSessionListener so that you know when your
session is getting created and destroyed? Also do you have multiple users
running the same jsp? If you do, you may want to synchronize that block of
code.
Hope this helps:).
-Yan
-Original Message-
From: MUKUND
PROTECTED]
Sent: Thursday, April 15, 2004 2:24 AM
To: 'Tomcat Users List'
Subject: RE: SESSION PROBLEM in UNIX
Hi, How about implementing HttpSessionListener so that you know when
your session is getting created and destroyed? Also do you have
multiple users running the same jsp? If you do, you
Howdy,
Hmm... I was going to list a few things, and then I realize that I do it
by feel. Maybe that'll work for you too: you'll know when you're
putting too many things in the session.
One thing to watch out for is Serializable: you should try to only put
Serializable objects in the session.
The session cookie is probably NOT being propogated in IE's new window.
If that is the case, then you need to add the session id to the url.
(Via response.encodeURL( ... ) or response.encodeRedirectURL( ... ))
Matthias Erche wrote:
Hi all,
We have 2 webapps running in this environment:
-
Hi Tim,
thanks for your answer.
The session cookie is probably NOT being propogated in IE's new window.
If that is the case, then you need to add the session id to the url.
(Via response.encodeURL( ... ) or response.encodeRedirectURL( ... ))
That is not possible I think. I have to type in
Hi Tom,
Am Donnerstag, 5. Dezember 2002 13:44 schrieb Tim Funk:
The session cookie is probably NOT being propogated in IE's new window.
The cookie is being propagated. But it has a different content than this one
that we get when using the warp connector. Why?
--
To unsubscribe, e-mail:
-Original Message-
From: Matthias Erche [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 05, 2002 7:34 AM
To: [EMAIL PROTECTED]
Subject: session problem with mod_jk
[...]
What we want to have (only with IE):
- login to first webapp per ssl
- open new browser window so
What do you hear about the sessions aren't working?
A user working just on the www.nut.com (for exemple) have no session? Or a
user working on the www.nut.com loose his session when he's passing on the
www.han.com?
-Message d'origine-
De : nuthankumar [mailto:[EMAIL PROTECTED]]
Envoye :
I wish people would stop saying URGENT and PLEASE HELP in
their subject lines. Not only is is poor mailing-list manners, it is
also unnecessary. This being a user list, we assume that most people
posting have a problem they want to solve right away. Your problem is
not more urgent than
+1
Saludos ,
Ignacio J. Ortega
-Mensaje original-
De: Paul Caton [mailto:[EMAIL PROTECTED]]
Enviado el: viernes 10 de mayo de 2002 15:47
Para: Tomcat Users List
Asunto: Re: Session Problem - URGENT
I wish people would stop saying URGENT and PLEASE HELP
-1
-Original Message-
From: Ignacio J. Ortega [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 10, 2002 10:01 AM
To: 'Tomcat Users List'
Subject: RE: Session Problem - URGENT
+1
Saludos ,
Ignacio J. Ortega
-Mensaje original-
De: Paul Caton [mailto:[EMAIL PROTECTED
Jack Li wrote:
-1
-1 means veto, and is only used by people with a veto. So - do you
have a veto, or are you just being a wiseass? ;)
Regards,
Graham
--
-
[EMAIL PROTECTED]There's a moon
over
Do you actually create a session somewhere. Since you are only using
request.getSession(). This will get the session if it is there, or null if
it is not there. As safe bet is to use request.getSession(true);
Mvgr,
Martin
-Original Message-
From: Rajesh Harikrishnan
Hi Rajesh,
Are you using JSP or servlet? In the JSP the session object is implicitly
available to you. You do not need to set it up the same way that you do for
a servlet.
JSP Example:
String myvalue = jgardner;
session.setAttribute(username, username);
Servlet Example:
HttpSession session
Try this one inside your JSP page...
if (session.isNew()) {
// do something
} else {
// ...
String sessionUser = (String)session.getValue(username);
// do something
}
At 04:17 PM 9/20/01 +0530, you
Seems like your netscape-6.01 is not configured to enable cookies ...
hth
Boris Niyazov
Columbia Law School
On Wed, 27 Jun 2001, Zsolt Koppany wrote:
Hi,
I use tomcat-3.2.2 and every request seems to use (create) a new session
from netscape-6.01. I don't have this problem with either
Nah, i think it is a Netscape bug.
I get this with all builds of Mozilla and Netscape after 0.9
It's odd because cookies from most servers/sites are set without a
problem, and its only tomcat that i see the problem with.
Mozilla 0.9 does work correctly with the same tomcat sites, so it's
Shouldn't that ; be a ? ??
-Original Message-
From: Leon Nicholls [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 11, 2001 9:04 AM
To: [EMAIL PROTECTED]
Subject: Session problem
Hi
I am having weird problems with sessions when I disable cookies.
If I have a link like
You do not need to apply encodeURL for regular URL not going through a servlet
container. However, if unconditional.xml links to another part of your servlet, then
you may loose your session. As a solution, you could write a file servlet and get your
page as
Hi Milt,
I've been testing Tomcat recently and found something similar. Like you, I was
successfully using ServletExec and switched to Apache/Tomcat. Suddenly sessions were
getting lost for no apparent reason. It was happening for all browsers, not just IE 4
and it was happening on both
On Wed, 4 Apr 2001, Warren Crossing wrote:
check ie.. it stores all cookies in a folder called cookies
somewhere each cookie in a seperate file.. however theres an
index.dat .. no idea what this does but you could delete it
( backup!! ) and all the cookies.. ( ??sorry?? but i've had this
uck,
-Steven
On Wed, 4 Apr 2001, Milt Epstein wrote:
Date: Wed, 4 Apr 2001 14:34:27 -0500 (CDT)
From: Milt Epstein [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: "'[EMAIL PROTECTED]'" [EMAIL PROTECTED]
Subject: RE: Session problem -- sessions being recreated, browser related?
On Tue, 3 Apr 2001, Jeff Kilbride wrote:
Hi Milt,
Are you using ajp12 or ajp13 as your connector protocol? Apparently,
ajp13 has known bugs that cause dropped sessions.
I got this from Mike Slinn after visiting his site
(http://tomcat.mslinn.com) and noticing that he said "Tomcat v3.2.1
I cann't explain the error message with out knowing more about the code; but
if you are trying to use cookies then that could be your problem. To my
knowledge (and I will point out that I have never tried it; so hopefully
somebody will back me up when I say that) WAP does not support cookies.
Message -
From: "Christopher Kirk" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, January 17, 2001 10:18 AM
Subject: RE: Session problem with WAP protocol
I cann't explain the error message with out knowing more about the code;
but
if you are trying to use cookies then
On Wednesday 17 January 2001 15:00, you wrote:
Thanks!
Wap support cookies.
But you can't be sure that all wap browsers do.
If you would like to prepare 100% available service, you must use url
rewriting. IMHO.
Regards
Grzegorz Skorupa
| [EMAIL PROTECTED] | http://pikosoft.and.pl | ICQ#:
Thanks. It's a better option.
- Original Message -
From: "Grzegorz Skorupa" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, January 17, 2001 10:19 AM
Subject: Re: Session problem with WAP protocol
On Wednesday 17 January 2001 15:00, you wrote:
Thanks!
Wap suppo
-Original Message-
From: Grzegorz Skorupa [mailto:[EMAIL PROTECTED]]
But you can't be sure that all wap browsers do.
If you would like to prepare 100% available service, you must use url
rewriting. IMHO.
phone.com WAP browsers using the UP.link gateway insert a header
phone.com WAP browsers using the UP.link gateway insert a header
"x-up-subno" that is unique per device. Instead of writing out
Oh I forgot to also mention the Mobile Subscriber ISDN Number used
by some phones works similarly via the X_Network_Info HTTP header.
s
"Mohan K. Chintala" wrote:
hi All,
I am binding the session object with the username and storing it in
a Hashtable. I want to check whether it is the same session or not, whenever
an user logs in. I want to check whether the same user has already Logged
In. Its working fine with
Title: RE: Session Problem
Craig (or anyone),
You might want to turn your thinking inside out on how to
handle this problem
:-).
I came in on this discussion thread mid-strand, and have a question. Your code snipped on session handling made perfect sense, and really made the session
Mike Campbell wrote:
Craig (or anyone),
> You might want to turn your thinking inside out on how
to
> handle this problem
> :-).
I came in on this discussion thread mid-strand, and have
a question. Your code snipped on session handling made perfect sense,
and really made the session-handling
PROTECTED]]
Sent: Thursday, January 04, 2001 8:36 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Session Problem
HttpSession session = request.getSession(true);
session.setMaxInactiveInterval(300);
Will set the timeout to 5 minutes (300 seconds).
Jeff
-Origin
Title: RE: Session Problem
You can also set
the server timeout in TOMCAT_HOME/conf/web.xml
or in your
individual webapp web.xml in the:
session-config
session-timeout
30
/session-timeout
/session-config
block.
---Michael WentzelSoftware DeveloperA
HREF="http://www.aswethin
HttpSession session = request.getSession();
Also, the request.getSession() method is overloaded as
request.getSession(boolean) with the boolean param specifying
whether to create a new session if one does not exist, i.e.
if request.getSession(false) is used a new HttpSession will
not be
44 matches
Mail list logo