Could there be a browser-caching issue here? If the URLs are the same, but with different views for logged-in and logged out, perhaps being cached?
On Mon, 2011-06-06 at 08:30 -0700, robnangle wrote: > Thiago H. de Paula Figueiredo wrote: > > > > I'm sorry, but I need to ask: have you checked what the actual user is > > when granting access or not to the admin page? Are you sure your > > authentication code is correct? > > > > -- > > Thiago H. de Paula Figueiredo > > Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, > > and instructor > > Owner, Ars Machina Tecnologia da Informação Ltda. > > http://www.arsmachina.com.br > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > > For additional commands, e-mail: users-h...@tapestry.apache.org > > > > Yes the code seems to be correct. When i login after a logout the immediate > page that loads is one which the admin user should see, which is correct. > You can click on an admin only link and that page will load but after this > it seems to revert back to the previous user and you will then be unable to > view admin pages (even though I just logged in as an admin user). > > It seems to be setting itself to the previous user for some reason? > > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/Clearing-SessionState-tp4458525p4459002.html > Sent from the Tapestry - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org