Hi,
Sometimes I find myself often in a situation where I need to redirect from a given action based on how the current action was reached. For example, from a customer list a user can add a customer(which can be a multiple step form), which will redirect back to the customer list. However, a customer can also be created through a web dashboard and should redirect the user after creating the new customer back to the web dashboard. Some solutions that came in my mind using Symfonfy capabilities: - Encode the call back route in the requested url (eg. /customer/create?redirect_after_create=dashboard_overview). However this means you won't have any nice urls anymore. - Create a new filter and store redirect data in session. This will be then used to 'look back' where the user came from. Both are not really easily maintainable and a bit 'ugly'. Anyone has any other solution? Kind regards, Daniel -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en