Hi,
A cookie is attached to one IP/browser.
So, if the same browser do :
httpServletRequest.getSession()
it recovers the same httpSession as before (if it already exists).
But when you come from another browser, the same httpSession is not recovered.
For your needs, I think you can do something
Hi, Thanks the reply,
My requirement is little different.
I want to have many browser instaces (2 or more)to use the same session.
In my first.jsp, on first hit, i will get the session and store it.
Again,if the first jsp is hit for the second time. It should use the
same session. SO, I will not
On Thu, 31 Mar 2005 11:41:55 -0800 (PST)
Jagadeesha T [EMAIL PROTECTED] wrote:
Hi all,
I want to set session in httpservletresponse object, Is there
any way to do it.
Otherthan response.addCookie(), or
response.encodeURL();
Is there any way to set the Jsession In
Hi all,
I want to set session in httpservletresponse object, Is there
any way to do it.
Otherthan response.addCookie(), or
response.encodeURL();
Is there any way to set the Jsession In headers, So that it gets that
in the next Jsp by request object,
If I use addCookie
Shapira
Millennium Research Informatics
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 09, 2004 11:32 AM
To: [EMAIL PROTECTED]
Subject: How to use ONLY cookie for session management?
Hello tomcat-user,
I use Tomcat 5.0.
Please, explain
The Servlet Container must obey the Servlet Specification as far as
session tracking mechanisms are concerned. So you can't turn this off.
You can build a custom version of Tomcat that doesn't do URL rewriting if
you'd like. But I'm guessing you're not going to like this option ;)
Doesn't
Hello,
I'm just new to tomcat and using it as container implementation in
JBOSS. I have the 2 following wonders:
1. I have to implement a session management jsp module where an admin
user has to be able to logoff users at demand.
I see in the J2EE spec that getSessionContext is going
Hi all,
I have built a servlet based application that uses xsl to render the output.
When a user requests
data (http/s), a standard servlet session is started, the request is processed with
the xsl and the
subsequent data is returned. My problem is this: I want to be able to use the
Hi,
This may be more of a design question, but I'm
wondering if tomcat has anything in it's API that we
might be able to leverage to help manage dirty data in
a user's session?
When our user's login, we load, into their session a
w3c dom document that contains user-information, etc.
We use xsl
This may be more of a design question, but I'm
wondering if tomcat has anything in it's API that we
might be able to leverage to help manage dirty data in
a user's session?
When our user's login, we load, into their session a
w3c dom document that contains user-information, etc.
We use xsl
authentication or should i go for my own authentication and
session
management.
Plz help me
Thanks in advance
Amit Varshney
-
Still single? Click here to find the perfect match
. is it possible to maintain session using tomcat user
authentication or should i go for my own authentication and session
management.
Plz help me
Thanks in advance
Amit Varshney
-
Still single? Click here to find the perfect match
the username from login page
to my page. is it possible to maintain session using tomcat user
authentication or should i go for my own authentication and session
management.
Plz help me
Thanks in advance
Amit Varshney
-
Still single
or should i go for my own authentication and session
management.
Plz help me
Thanks in advance
Amit Varshney
-
Still single? Click here to find the perfect match
for my own authentication and session
management.
Plz help me
Thanks in advance
Amit Varshney
-
Still single? Click here to find the perfect match.
http
application. For that I need the login name of the person on my each page. How can I
pass the username from login page to my page. is it possible to maintain session using
tomcat user authentication or should i go for my own authentication and session
management.
Plz help me
Thanks in advance
Amit
On 20 September 2003, Chris Rolfe said:
You might try:
Manager classname=org.apache.catalina.session.StandardManager
pathname= /
Yep, I eventually found that in the O'Reilly Tomcat book. Turns out
classname isn't even necessary, so this is a
one-line-of-XML-per-context configuration
on 9/18/03 1:29 PM, Greg Ward wrote:
I would like to completely disable Tomcat session management. I'm in
Manager pathname=/dev/null /
You might try:
Manager classname=org.apache.catalina.session.StandardManager
pathname= /
Cheers,
Chris
I would like to completely disable Tomcat session management. I'm in
the process of porting a legacy app with homebrew session management
from JServ to Tomcat, and I want to keep using that homebrew session
management for the time being. (I'm using Tomcat 4.1.24, JDK 1.4.0.)
Currently, Tomcat's
On 18 September 2003, Greg Ward said:
Surely someone has written a dummy session manager class that does
nothing...
OK, I took a crack at this. My first attempt at DummySessionManager
looked like this:
import org.apache.catalina.Manager;
class DummySessionManager implements Manager
{
didn't see any possibility to override automatic use of cookies for
session management, I rewrote parts of the response.encodeURL() method
(and used it instead of response.encodeURL) to append jsessionid every
time. This works, as said, fine under Tomcat3 but not on Tomcat4 and
above ...
My
Hi,
I'm using jdk1.3.1_04, tomcat 4.0.4, apache1.3.24 and mod_jk on Linux 7.3.
I sometimes (not every time,happen mainly after I update jsp files, clear cache
and restart tomcat) get the below error while trying to browse a jsp page.
I have a main page with a link (A
Can someone point me to a good example of how to do Session Management
using JSP but without using Cookies?
Thanks,
Rick
--
To unsubscribe: mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]
I've always started any new java topic with Sun's java
tutorials:
http://java.sun.com/docs/books/tutorial/servlets/client-state/index.html
--- Rick Roberts [EMAIL PROTECTED] wrote:
Can someone point me to a good example of how to do
Session Management
using JSP but without using Cookies
Hi!
I want to create a directory in my file-system for every new session - that's easy!
(there I want to store large files belonging to that session!)
Now I would like to get rid of the directories of older timed-out sessions!!!
.
It would be enough, if every time, when I have to create
removed from the session, the valueUnbound() method
is called.
So if you put a listener in the session attributes, you will know when
the session dies.
Jeff
- Original Message -
From: Michael [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, March 27, 2002 11:32 AM
Subject: session
Hi
I wanted to know if tomcat supports session management and connection
pooling
if so what are the modules i have to down load.
can some body point me to that url
Thanks
Uma
-Original Message-
From: Lev Assinovsky [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 21, 2002 8:49 AM
Hi
I wanted to know if tomcat supports session management and connection
pooling
if so what are the modules i have to down load.
can some body point me to that url
Thanks
Uma
-Original Message-
From: Lev Assinovsky [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 21, 2002 8:49
: Uma Munugala [mailto:[EMAIL PROTECTED]]
Sent: 21 March 2002 21:23
To: '[EMAIL PROTECTED]'
Subject: FW: Does tomcat support session management and connection pooling
Hi
I wanted to know if tomcat supports session management and connection
pooling
if so what are the modules i have to down
the
session management, am I right?
Thank you an bye...
--
Thorsten Barth
Web Arts AG
eBusiness Solutions
---
Max-Planck-Str. 9
61381 Friedrichsdorf
---
Tel.: 06172/599833
Fax : 06172/599830
E-Mail: [EMAIL PROTECTED]
http://www.web
Hi,
-Original Message-
From: Pavel Brun [mailto:[EMAIL PROTECTED]]
Sent: Saturday, February 09, 2002 6:48 PM
To: Tomcat User
Subject: Session Management between IIS and Tomcat
I have already posted this question a while ago, but I was wondering if
anybody knows
of a mechanism
sure this will work.
waiting for a reply
tarun
- Original Message -
From: Anton Brazhnyk [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, February 11, 2002 2:34 PM
Subject: RE: Session Management between IIS and Tomcat
Hi,
-Original Message-
From
if you can send me an example...that would be greatly appreciated. :-)
Thanks
Paul
-Original Message-
From: tarunjava [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 11, 2002 6:09 AM
To: Tomcat Users List
Subject: Re: Session Management between IIS and Tomcat
hi,
The information
capabilities.
--
From: Pavel Brun[SMTP:[EMAIL PROTECTED]]
Reply To: Tomcat Users List
Sent: Saturday, February 09, 2002 10:48 AM
To: Tomcat User
Subject: Session Management between IIS and Tomcat
I have already posted this question a while ago, but I
I have already posted this question a while ago, but I was wondering if
anybody knows
of a mechanism for sharing an IIS session with Tomcat and vice versa? I
would greatly
appreciate any information anyone can give me. Even if there is no solution,
I would
appreciate someone telling me that it is
: tom4 session and loadbalancing / Distributed Session Management
| Hi Tom,
|
| anything new about this theme?
|
| Best, Michael
|
| -Ursprüngliche Nachricht-
| Von: Tom Drake [mailto:[EMAIL PROTECTED]]
| Gesendet: Sonntag, 16. Dezember 2001 17:02
| An: Tomcat Users List
| Cc: Tomcat Dev
Michael:
As it happens, I am currently working on a solution to this problem.
Look for messages in the archive with 'Distributed Session
Management' in the subject.
In a nutshell, all tomcat instances in a 'cluster' will be able to share
session data.
I've already completed a multicast-style
List
Betreff: Re: tom4 session and loadbalancing / Distributed Session
Management
Michael:
As it happens, I am currently working on a solution to this problem.
Look for messages in the archive with 'Distributed Session
Management' in the subject.
In a nutshell, all tomcat instances in a 'cluster
Hi
I'd like to know how can I manage sessions (HttpSession) of multiple users
in an as possible simple way, if I use multiple Tomcat and Apache instances
on multiple servers, using Apache and Tomcat load balancers workers, in a
SSO like configuration ?
Dom
--
To unsubscribe: mailto:[EMAIL
hi all
how do i manage my session in static pages put on iis server
without rerouting it to my application server
thanx
priya
Hi!
I'm using Tomcat with a telephone (interactive-voice-recognition)
client.This client communicates with the servlet via HTTP, and it all works
well, except for one thing. When I start a new session, Tomcat sends a
Set-Cookie and a Set-Cookie2 response header, both containing the
Giorgio Saviane a écrit :
Hi!
I'm using Tomcat with a telephone (interactive-voice-recognition)
client.This client communicates with the servlet via HTTP, and it all works
well, except for one thing. When I start a new session, Tomcat sends a
Set-Cookie and a Set-Cookie2 response
I've just tried, and with my utter amazement... it doesn't pass ANY
information! Anyway, I've solved: the session cookies MUST be enabled, and
one must pass the URL in the form
http://path;jsessionid=id?param=value
Only one note: this forms seems to be totally tomcat-specific: why you
choose
Hi everybody,
i posted a few times earlier ...
but now i hope that found the source of the error (till yet without
solution).
I am using a servlet which calls itself from the get to the post method.
A user is identified via sesion (quite usual i think)
When using tomcat via 8080 port
I have proposals for the following system:
5 servers running tomcat/apache
1 load balancer
1 proxy/firewall.
We will be connecting to a wap/gprs gateway to make
connections for users. We cannot use cookies on the
wap phones and the gateway does not support them. we
need to manage sessions on
]]
Sent: Monday, November 20, 2000 3:46 PM
To: [EMAIL PROTECTED]
Subject: Strange behaviour of Tomcat/Apache and session management
Hi,
while debugging a WAP project with URL encoded Tomcat Sessions
(JSESSIONID) we encountered the following strange behavior:
WAP devices are (
46 matches
Mail list logo