function saveParams in 3.1.2.html added

Save session in input field