To: user@struts.apache.org
Sent: Mon, 19 Jan 2009 3:39 pm
Subject: Re: Struts 2 session problem
Yes, SEAM does:
http://www.seamframework.org/Documentation/DoesSeamSupportMultipleBrowserWindowsOrTabs
I haven't dug into exactly how they do it but I would not be surprised if
they pass
dusty wrote:
Good luck with SEAM.
And good luck to us incorporating some of its features--SEAM has a lot
going for it.
Dave
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user
more
>> http://www.manning.com/wannemacher
>>
>>
>> -
>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
>> For additional commands, e-mail: user-h...@strut
etc. *expecting* them to be within the same
> "conversation".
>
> -Dale
>
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>
>
--
View this message in context:
http://www
tional commands, e-mail: user-h...@struts.apache.org
>
>
>
--
View this message in context:
http://www.nabble.com/Struts-2-session-problem-tp21513305p21558037.html
Sent from the Struts - User mailing list archive at Nabble.com.
--
tional commands, e-mail: user-h...@struts.apache.org
>
>
>
--
View this message in context:
http://www.nabble.com/Struts-2-session-problem-tp21513305p21558029.html
Sent from the Struts - User mailing list archive at Nabble.com.
--
andrh...@hotmail.com wrote
I agree with ya. I have been doing something very similar with
hidden fields in my app for some time.
If every request in your app is a POST, or if every link in your app is
javascript that causes a POST, that's fine. I like using actual links,
though, which resul
On Tuesday 20 January 2009 00:01:22 RajibJana wrote:
> Can I expect this feature in future version of S2? It will help the S2
> developers immensely, I bet.
>
> Thanks
>
Patches are always welcome!
-Wes
--
Wes Wannemacher
Author - Struts 2 In Practice
Includes coverage of Struts 2.1, Spring,
gt;> Date: Mon, 19 Jan 2009 12:39:30 -0800
>> From: glindh...@yahoo.com
>> To: user@struts.apache.org
>> Subject: Re: Struts 2 session problem
>>
>>
>> Yes, SEAM does:
>>
>> http://www.seamframework.org/Documentation/DoesSeamSupportMultipleB
each has a "conversation" scope.
>>>> So where most frameworks would drop stuff into session and the tabs
>>>> would overwrite each others data, Seam doesn't. (It may still use
>>>> session tied to a tab-specific key; I don't know the mechanism yet.
: user@struts.apache.org
> Subject: RE: Struts 2 session problem
> Date: Mon, 19 Jan 2009 17:07:13 -0600
>
>
> I agree with ya. I have been doing something very similar with hidden fields
> in my app for some time. The server knows if a new browser instance is
> requested b
based on keys. At
the end of the day a servlet container creates a single session for a single
workstation.
> Date: Mon, 19 Jan 2009 12:39:30 -0800
> From: glindh...@yahoo.com
> To: user@struts.apache.org
> Subject: Re: Struts 2 session problem
>
>
> Yes,
;> > to call it a limitation, I for one think this is the correct thing to
>> do,
>> > and since even IE8 starts doing this looks like it is.
>> >
>> > The solution for FF is to use profiles. Just google for 'Firefox
>> multiple
>> > sessions.
>&g
e it is.
> >
> > The solution for FF is to use profiles. Just google for 'Firefox multiple
> > sessions.
> >
> > -Original Message-
> > From: Greg Lindholm [mailto:glindh...@yahoo.com]
> > Sent: January 19, 2009 2:19 PM
> > To: user@stru
s to use profiles. Just google for 'Firefox multiple
> sessions.
>
> -Original Message-
> From: Greg Lindholm [mailto:glindh...@yahoo.com]
> Sent: January 19, 2009 2:19 PM
> To: user@struts.apache.org
> Subject: Re: Struts 2 session problem
>
>
> +1
>
> I f
From: Greg Lindholm [mailto:glindh...@yahoo.com]
Sent: January 19, 2009 2:19 PM
To: user@struts.apache.org
Subject: Re: Struts 2 session problem
+1
I find I need this all the time when developing; I want to login as 2
different users and test multi-user interactions. Currently I'm force
---
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>
>
--
View this message in context:
http://www.nabble.com/Struts-2-session-problem-tp21513305p21549675.html
Sent
dusty wrote:
Creating a separate subsystem on the server to partition a single HTTP
session for multiple users and maintain the conversation is classic
overengineering. Seems like Seam has gone to a lot of trouble to provide
just another way to persist state.
It's not "over-engineering" to al
(It may still use
> >> session tied to a tab-specific key; I don't know the mechanism yet.)
> >>
> >> Dave
> >>
> >>
> >> -
> >> To unsubscribe, e-mail: user-unsubscr..
t;session" states.
>>>>
>>>> I could, say, have two tabs open, but each has a "conversation" scope.
>>>> So where most frameworks would drop stuff into session and the tabs
>>>> would overwrite each others data, Seam doesn't. (
open, but each has a "conversation" scope.
>>> So where most frameworks would drop stuff into session and the tabs
>>> would overwrite each others data, Seam doesn't. (It may still use
>>> session tied to a tab-specific key; I don't know the mechanism yet.)
>>>
>>> Dave
>>>
>>>
>>&
----
>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
>> For additional commands, e-mail: user-h...@struts.apache.org
>>
>>
>>
>
>
--
View this message in context:
http://www.nabble.com/Struts-2-session-problem-tp21513305p2153720
> For additional commands, e-mail: user-h...@struts.apache.org
>
>
>
--
View this message in context:
http://www.nabble.com/Struts-2-session-problem-tp21513305p21536971.html
Sent from the Struts - User mailing list archive at Nabble.com.
>option 2 and 3 are overheads for a large app
This is an overstatment. The real question is whether This overhead causes
major [performance, etc] problems for THE app , u are working on [not any
large app], or not. And that is the question which you can only answer.
regards,
RajibJana wro
I'm guessing conversations are just different "partitions" in the
session. At least that's how I've seen it implemented before. And I
don't see how that would "support" having multiple _users_ in the same
session. Sure, you could probably emulate it in some way, but I have
serious doubts if it woul
On Sunday 18 January 2009 12:11:33 Dave Newton wrote:
>
> Check out the Seam conversation stuff.
>
> It allows the same user (or, I suppose, two different users, but that's
> not its primary purpose) to have multiple "session" states.
>
> I could, say, have two tabs open, but each has a "conversati
Wes Wannemacher wrote:
Two users are not going to share the same session. Each user will get a new
session. That's how app servers work.
Check out the Seam conversation stuff.
It allows the same user (or, I suppose, two different users, but that's
not its primary purpose) to have multiple "s
>>>
>>>>>>
>>>>>> newton.dave wrote:
>>>>>>>
>>>>>>> Dale Newfield wrote:
>>>>>>>> One running browser instance shares session across all windows.
>>>>>
On Sunday 18 January 2009 02:54:35 RajibJana wrote:
> By conversation, I want to mean http session independent conversation. So
> two simultaneous users sharing the same http session can work
> independently, storing/retriving their own properties throughout the
> application without having conflic
m one
>>>>>>> machine.
>>>>>>
>>>>>> The OP wants a SEAM-like solution, but S2 doesn't have that
>>>>>> functionality built-in (nor do most other frameworks, AFAIK).
>&g
;>>> The OP wants a SEAM-like solution, but S2 doesn't have that
>>>>> functionality built-in (nor do most other frameworks, AFAIK).
>>>>>
>>>>> It *would* be a nice feature to add, though.
>>>>>
>>>>>>> 2) If one opens two window instances ( not tabbed one), logs into
>>
>>>> I can never remember which is which, but IIRC IE (pre-6, don't remember
>>>> after that) would give different sessions per-window, FF wouldn't. In
>>>> any case, I agree that it's a bad idea to rely on browser behavior
>>>> (unless you're cont
I can never remember which is which, but IIRC IE (pre-6, don't remember
>>> after that) would give different sessions per-window, FF wouldn't. In
>>> any case, I agree that it's a bad idea to rely on browser behavior
>>> (unless you're controlling browser deployment, but I don't like that
>>>
>> any case, I agree that it's a bad idea to rely on browser behavior
>> (unless you're controlling browser deployment, but I don't like that
>> much either :)
>>
>> Dave
>>
>>
>> -----------------
>> To unsubscribe, e-m
;
>
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>
>
--
View this message in contex
two browser tabs open the application login page.
> -----------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>
>
--
View this message in
tion breaks.
>> 3) If the user opens a new browser instance, then a new
>> session is created
>> and both the windows have their own user id info( i.e.
>> userid doesnt
>> override)
>>
>> I tried the scope interceptor ( by starting a conversion),
>&g
Dale Newfield wrote:
One running browser instance shares session across all windows. Using
Safari and Firefox in tandem will allow two sessions from one machine.
The OP wants a SEAM-like solution, but S2 doesn't have that
functionality built-in (nor do most other frameworks, AFAIK).
It *wo
RajibJana wrote:
1) if one opens a window and a tabbed window, logs into the application by
giving different user id and password combinations, then two seperate
sessions are not created. As a result, in the session map userid overrides
each other and same user id ( last logged in user ) is shown
17/09, RajibJana wrote:
> From: RajibJana
> Subject: Struts 2 session problem
> To: user@struts.apache.org
> Received: Saturday, January 17, 2009, 5:23 AM
> Hi All,
>
> I am using struts 2.0.14 to build an enterprise
> application. It uses spring,
> hibernate, tile
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>
>
--
View this message in context:
http://www.nabble.com/Struts-2-session-problem-tp21513305p21517802.html
Sen
Deepak Kumar wrote:
Please check http://www.roseindia.net/struts/struts2/struts2-login.shtml
I don't see how that addresses the issue at all; perhaps you could
explain further?
Thanks,
Dave
-
To unsubscribe, e-mail: user-u
Please check http://www.roseindia.net/struts/struts2/struts2-login.shtml
Thanks
-Original Message-
From: RajibJana [mailto:rajibj...@gmail.com]
Sent: Saturday, January 17, 2009 4:35 PM
To: user@struts.apache.org
Subject: Re: Struts 2 session problem
Seems to me S2 can not give better
; >> > each
>> >> > request URL. This is a very bad way to do it because it will be easy
>> to
>> >> > hijack
>> >> > a session. Especially in cases where the user is clicking a link and
>> >> the
>> >> > ke
es where the user is clicking a link and
> >> the
> >> > key
> >> > will be visible in the GET request.
> >> >
> >> > I would consider whether your requirement is a development-time
> >> > requirement...
> >> > Meaning, is this something you need for testing your a
users will need? If it is something that the users need, consider
>> re-
>> > factoring before you hide key fields as I suggest above. If this is
>> > something
>> > you need for testing and development, then try to find a browser plugin
>> > that
>>
ntrol over your cookies so that you can
> control
> > the
> > sessions while you work.
> >
> > -Wes
> >
> > --
> >
> > Wes Wannemacher
> > Author - Struts 2 In Practice
> > Includes coverage of Struts 2.1, Spring,
while you work.
>
> -Wes
>
> --
>
> Wes Wannemacher
> Author - Struts 2 In Practice
> Includes coverage of Struts 2.1, Spring, JPA, JQuery, Sitemesh and more
> http://www.manning.com/wannemacher
>
>
> -------------
On Saturday 17 January 2009 00:23:49 RajibJana wrote:
>
> 1) A User opens a browser window( IE 7/Firfox) and logs in the application
> as User X and the application shows the logged in userid as X and DB
> transactions also get userid info as X.
> 2) The same user opens a bowser tab or new window f
( by starting a conversion), but the result is
same( i.e. could not get new session in a window tab).
I searched for a solution, could not get a solution. Please suggest how to
get rid of this problem.
Thanks
Rajib
--
View this message in context:
http://www.nabble.com/Struts-2-session
50 matches
Mail list logo