How to Select HTML value and put to session?

Hi I would like User to select a value from simple HTML select tag an put that into a session. I don’t need the values in database so thats why this solution. Maybe Phoenix.HTML is capable of that??

Hello and welcome,

Anyway You will need to make a round trip to the server.

In a custom action of a controller You will use put_session from received params. Or a plug.

I do this to persist selected language…