In mvc, assume I have a jqgrid or a form or any inputs in a page and I move to another page from that, then on clicking back, it needs to go back to that page retaining the previous selection or values. Any idea how to do this without using session objects?
Asked
Active
Viewed 30 times
0
-
no localstorage allowed as well. – Rustin Cohle Feb 19 '16 at 09:11
-
1Look at [the demo](http://www.ok-soft-gmbh.com/jqGrid/OK/ColumnChooserAndLocalStorage2_singleSelect.htm) from [the answer](http://stackoverflow.com/a/31663268/315935) and try to sort, to reorder the column, to hide some columns, to select the row and so on. After that you can gi to another page and to open the same URL once more. You will see the last state restored from the `localStorage`. – Oleg Feb 19 '16 at 11:44
-
Thanks Oleg. #IRespect I have done more the same. but I am not allowed to use localstorage. I am looking for an approach based on mvc. – Rustin Cohle Feb 19 '16 at 11:59
-
how about get variables ? – madalinivascu Feb 19 '16 at 12:44