It basically assign
works only for a specific connection - the Plug.Conn structure - this means that this value will disappear with the completion of the request - since conn will also die - at the end of the request / response cycle.
cookie ets. , . .
TL; :
assign
.
put_session
, /.