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 some more detail: ENVIRONMENT: SuSE Linux 10 Java/compiler/1.5.0_07 Wicket/1.2RC3 Wicket Extensions/1.2RC3 Jetty/5.1.11RC0 MY Application CLASS: public class PwdMgrWebApplication extends WebApplication { /** * The logger */ private Log logger = LogFactory.getLog(PwdMgrWebApplication.class); // docs from super public void init() { // put an authorization strategy in place SimplePageAuthorizationStrategy authzStrategy = new SimplePageAuthorizationStrategy(PwdMgrAuthenticatedWebPage.class, PageLogin.class) { protected boolean isAuthorized() { // Authorize access based on user authentication in the session return (((PwdMgrWebSession)Session.get()).isAuthenticated()); } }; getSecuritySettings().setAuthorizationStrategy(authzStrategy); } /** * @see wicket.protocol.http.WebApplication#getSessionFactory() */ public ISessionFactory getSessionFactory(){ return new ISessionFactory() { public Session newSession() { return new PwdMgrWebSession(PwdMgrWebApplication.this); } }; } // docs from super public Class getHomePage(){ return PageHome.class; } } -S2 -- Steve Moitozo II Igor Vaynberg wrote: > are you storing data in the Application object? > > you should be storing it in the Session object > > -Igor > > > On 7/14/06, *Steve Moitozo* < [EMAIL PROTECTED] > <mailto:[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 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 II > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your > job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642> > _______________________________________________ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > <mailto:Wicket-user@lists.sourceforge.net> > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > ------------------------------------------------------------------------ > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > ------------------------------------------------------------------------ > > _______________________________________________ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user