Arturs Sosins - 2013-03-04 08:00:53 -
In reply to message 1 from Mohamed Ziata
Hello ;),
for redirection to work, there are three things to check:
1) debug must be disabled (or else you won't see debug messages with redirection)
2) headers must not be already sent or else you can't redirect (that is if there is any other code that could do that)
3) if you have onsuccess function set, this function must return true (that was implemented in case, you want to show some message on success)
So in simple_example.php I think that if you disable debug and return true from success method it will redirect correctly ;)