Re: [Wicket-user] Possible session issue in my app?

2006-07-15 Thread Steve Moitozo
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

Re: [Wicket-user] Possible session issue in my app?

2006-07-15 Thread Eelco Hillenius
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

Re: [Wicket-user] Possible session issue in my app?

2006-07-15 Thread Steve Moitozo
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

Re: [Wicket-user] Possible session issue in my app?

2006-07-15 Thread Eelco Hillenius
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

Re: [Wicket-user] Possible session issue in my app?

2006-07-14 Thread Igor Vaynberg
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

Re: [Wicket-user] Possible session issue in my app?

2006-07-14 Thread Julian Klappenbach
@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

Re: [Wicket-user] Possible session issue in my app?

2006-07-14 Thread Steve Moitozo
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

Re: [Wicket-user] Possible session issue in my app?

2006-07-14 Thread Igor Vaynberg
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

[Wicket-user] Possible session issue in my app?

2006-07-14 Thread Steve Moitozo
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