This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit ezplatform.com

eZ Community » Forums » Developer » Control redirection after form...
expandshrink

Control redirection after form submission

Control redirection after form submission

Thursday 14 January 2010 5:13:06 pm - 2 replies

Hi there,

I have a problem with the eZ redirection system.

In fact, it looks like eZ redirect to the previously accessed page after /user/login and /content/action.

But my problem is that when I have loaded a page I need to send AJAX requests and so, I modify the last accessed URL.

So, I would like to know how I can control the redirection URL manually.

Do you have any idea ?

Modified on Wednesday 24 March 2010 9:17:30 am by Damien MARTIN

Thursday 14 January 2010 8:44:43 pm

When posting to the default /user/login view, you can send a hidden input field named "UserRedirectURI" that will take precedence over the last accessed URL stored in the session.

Friday 15 January 2010 10:45:48 am

Hi Peter,

UserRedirectURI works fine !

Thank you very much for the tip.

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from