I am writing an application that relies heavily on ajax calls.
I have a template with an input field which is used in many pages for different variables:
<input name="{{ @id }}" type="text">
Now
I need to be able to insert the corresponding session value if this
already exists, eg if the name of the input box is "widget", the
corresponding session variable will be "@SESSION.widget".
I tried:
but they return a 500 error.
Is it possible to do this or do I need to circumvent this problem by introducing a new variable.