The only way to get data from the client to the server is to make a request. The only way to get data from the server to the client is to respond to a request.
You can make that request by submitting a form either in the get or post scope.
You can make that request by sumitting a request with the xmlHTTPrequest() function, commonly called AJAX.
But somehow or the other you have to make a request.
You didn't ask any question. Are you double, Emmim44?
Set session var using js
I will have to check some samples...if u have one handy, pls feeel free