• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Deciding which phase to listen to for redirect...

 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
due to a goofy way in which we're handling security on the project I'm working on, I'm having to trap a request with a phase listener, perform some logic, then redirect to one of a cople of pages (the decision is based on the state of some objects in the session).

I've pretty much got that handled, but I wanted to get some advice as to which phase I should be performing this kind of action in.

It smells to me like Before Render Response is probably the appropriate place, but is there a better spot earlier in the chain?

Just looking for some best practice advice here.

Thanks!

///eks
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic