AIL PROTECTED]
>>> [mailto:[EMAIL PROTECTED] On Behalf Of Steve
>>> Moitozo
>>> Sent: Friday, July 14, 2006 1:49 PM
>>> To: wicket-user@lists.sourceforge.net
>>> Subject: [Wicket-user] Possible session issue in my app?
>>>
>>> I have whip
same computer
> > for both users? What browser are you using?
> >
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of Steve
> > Moitozo
> > Sent: Friday, July 14, 2006 1:49 PM
> > To: wicket-user@lists.sour
t; for both users? What browser are you using?
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Steve
> Moitozo
> Sent: Friday, July 14, 2006 1:49 PM
> To: wicket-user@lists.sourceforge.net
> Subject: [Wicket-user] Possible ses
Where do you store which user is currently selected? In the
wicket-examples project, there are several examples of how you could
do this, e.g. the library example. And maybe wicket-auth-roles might
give you some ideas too.
Do you maybe use a static reference to your user? A singleton that
stores u
storing things in page is fine because page instances are stored in session. this exact problem is why i hated tapestry because there the page objects are pooled and if you are not careful you share user information. in wicket the only point this can happen is the application object because it is a
@lists.sourceforge.net
Subject: [Wicket-user] Possible session issue in my app?
I have whipped up a shiny new Wicket application and I just noticed
something that is a bit of a show stopper for me.
If I login as BOB and a friend logs in as LARRY and I click on a link my
application thinks I'm LARRY! Have I s
Thanks Igor. I was storing some data in the Application object but have
now moved everything to the Session object. However, I am still
experiencing the same behavior.
From what I understand it's OK to store data in pages because they are
placed in the user's session. Is this correct?
Here is
are you storing data in the Application object?you should be storing it in the Session object-IgorOn 7/14/06, Steve Moitozo <
[EMAIL PROTECTED]> wrote:I have whipped up a shiny new Wicket application and I just noticed
something that is a bit of a show stopper for me.If I login as BOB and a friend
I have whipped up a shiny new Wicket application and I just noticed
something that is a bit of a show stopper for me.
If I login as BOB and a friend logs in as LARRY and I click on a link my
application thinks I'm LARRY! Have I stored user data in the wrong
place? Any ideas?
-S2
--
Steve Moitozo