Subject: Re: Cookies And Session Problems
I think that i've found the problem. Please, look below :
Ciaran Hanley wrote:
Hi thanks for your reply,
I am using form based authentication. Cookies are enabled. I am storing all
session information using request.getSession() for example
13:03
To: Ciaran Hanley
Cc: Struts Users Mailing List
Subject: Re: Cookies And Session Problems
I think that i've found the problem. Please, look below :
Ciaran Hanley wrote:
Hi thanks for your reply,
I am using form based authentication. Cookies are enabled. I am storing
all
session
Ciaran, Brian is right.
Using IE, you can get a different session if you try to execute a new
instance of IE (do not use Open a new window). But you must be
carefull because even the links in Windows' startup menu can just Open
a new window (instead starts a new IE instance).
When you are
-Original Message-
From: Daniel Henrique Alves Lima [mailto:[EMAIL PROTECTED]
Sent: 10 March 2004 21:39
To: Struts Users Mailing List
Subject: Re: Cookies And Session Problems
Ciaran, Brian is right.
Using IE, you can get a different session if you try to execute a new
instance of IE (do not use
or request
attribute to avoid scope overlaps.
-Original Message-
From: Ciaran Hanley [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 10, 2004 4:56 PM
To: 'Struts Users Mailing List'; [EMAIL PROTECTED]
Subject: RE: Cookies And Session Problems
Ok but my problem is right throughout my
PROTECTED]
Sent: Wednesday, March 10, 2004 4:55 PM
Subject: RE: Cookies And Session Problems
Ok but my problem is right throughout my application still even when only
logged in as one user.
Say I am a client who logs in and views a list of their customers. I want to
view customer x, customer y
If you mean in the action mappings then no, I have the scope set to request
for each mapping.
Ciaran
-Original Message-
From: David Friedman [mailto:[EMAIL PROTECTED]
Sent: 09 March 2004 03:26
To: Struts Users Mailing List
Subject: RE: Cookies And Session Problems
Did you accidentally
I think that i've found the problem. Please, look below :
Ciaran Hanley wrote:
Hi thanks for your reply,
I am using form based authentication. Cookies are enabled. I am storing all
session information using request.getSession() for example:
As a general point life gets less confusing when you retrieve you
objects one at a time rather than drilling through several at once..
When you get used to using stuff on a daily basis then of course you're
going to start opting for one line rather than several. but IMO you
better
I think that i've found the problem. Please, look below :
Ciaran Hanley wrote:
Hi thanks for your reply,
I am using form based authentication. Cookies are enabled. I am storing all
session information using request.getSession() for example:
The last user to log into the system has their details available to all
other users logged in.
Be really specific about you mean here, and give a few details about the
deployment environment.
- What session information appears to be shared by the users?
- Can you demonstrate the session problem
:[EMAIL PROTECTED]
Sent: 09 March 2004 02:19
To: Struts Users Mailing List
Subject: Re: Cookies And Session Problems
The last user to log into the system has their details available to all
other users logged in.
Be really specific about you mean here, and give a few details about the
deployment
Did you accidentally set the scope of the FormBean for your Action to
application instead of session or request?
Regards,
David
-Original Message-
From: Ciaran Hanley [mailto:[EMAIL PROTECTED]
Sent: Monday, March 08, 2004 7:48 PM
To: Struts User Mailing List
Subject: Cookies And Session
to be young again!
-Original Message-
From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 21, 2002 01:52
To: 'A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology.'
Cc: Struts (E-mail)
Subject: RE: Cookies in IE 4
I'm curious as to why you
I'm curious as to why you are using IE 4.x? Our recent deployment of the
public ecommerce sites for VoiceStream/T-Mobile (using Struts) had an IE 4.x
compatibility requirement and I refused to implement it. Are there really
that many projects requiring compatibility with an obsolete browser?
IE4.
hehe
I remember that one...
Oh to be young again!
-Original Message-
From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 21, 2002 01:52
To: 'A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology.'
Cc: Struts (E-mail)
Subject: RE
Maybe you'd care to elaborate a bit on what server you're using -
version and such. Knowing which version of Struts you're using would be
helpful too. Also, I assume you're using the html:link tag, but you
didn't say that. Maybe you could restate your question a bit more
completely? Are
-Original Message-
From: Eddie Bush [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 09, 2002 9:59 AM
To: Struts Users Mailing List
Subject: Re: cookies vs. jsessionid (url rewriting)
Maybe you'd care to elaborate a bit on what server you're using -
version and such. Knowing which version
Jung, Eric (Contractor) wrote:
Sorry for begin vague. Still working on my first cup of coffee :)
However, you can ignore my question because it seems to have magically
gone away.
As for your cookies point, well taken, and I know all the problems
with cookies. However, it's simply not my call to
Problem resolved! (don't ask my how or why)
Thanks anyway.
-Eric
-Original Message-
From: Eddie Bush [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 09, 2002 10:27 AM
To: Struts Users Mailing List
Subject: Re: cookies vs. jsessionid (url rewriting)
Jung, Eric (Contractor) wrote:
Sorry
When you set a cookie it is only a 'suggestion' to the client. When you
read a cookie it is coming back from the client for the current request.
1. client requests page 1
2. set cookie in first servlet
3. chain to second servlet
Here you will not see the cookie because the client has yet to
/return.do, which then tries to re-read the cookie.
But it doesnt exist.
How do I get around this?
-Original Message-
From: Tingleff, Sam [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 31 January 2002 12:44
To: 'Struts Users Mailing List'
Subject: RE: Cookies
When you set a cookie it is only
PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 30, 2002 7:56 PM
To: [EMAIL PROTECTED]
Subject: RE: Cookies
Well, heres my problem.
I have a servlet that takes in a form, parses the data and then
forwards off to another site. Before it posts, it puts the users
ID (encrypted) into a cookie
I haven't actually worked with cookies this way, but it seems like this
should work:
bean:cookie id=the_cookie name=username_cookie value=username_cookie
not set /
bean:define id=the_value name=the_cookie property=value /
html:text property=username value=%= the_value % /
This doesn't deal
cookies.
Bad. Bad. Bad.
But I like it. It contributes to
MVC. Why not do it, do it, do it??
- Original Message -
From:
malcolm
davis
To: [EMAIL PROTECTED]
Sent: Monday, April 23, 2001 1:47
AM
Subject: RE: Cookies and Clusters
Dan,
Cookies get
Dan,
Cookies get a
lot of bad press. But, cookies (or complex URL encoding)are the
fall-back
when session beans are notgoing to
beused.
ManyJSP developers will shun session beans
because the app mightget deployed on clusteredservers (reverse
proxied). Each POST might then be
26 matches
Mail list logo