Forum Discussion

prashanthkavya's avatar
7 years ago

how to pass parameters from one page to another just like get and post method in PHP

Hi,

  How do i pass parameters from one page to another just like how we pass in classic PHP. We use get and post method to pass values and to retrive we have $_GET and $_POST.  Let me know.. I have situation where the parameter passed should be aappended to a query and the respective articles needs to be show. 

Let me know how i can do this. Thanks in advance

  • VikasB's avatar
    VikasB
    7 years ago

    prashanthkavya

    You can get it like this

    <#assign param= http.request.parameters.name.get("param",'') />
     ${param}

3 Replies