I have a drop down list for locale selection, when user changes it then i send an ajax request to an action where i set a session perimeter
Now the problem is that what should i return from the execute() method of the action
You can return an HTTP 200 OK, which should be an empty, successful response.
<result name="empty" type="httpheader">
<param name="status">200</param>
</result>
I would make a global result so that you can use it any action.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With