Only 49 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Deciding which phase to listen to for redirect...  RSS feed

 
evan k. stone
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • 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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!