Is it possible to insert session values in session variable through JavaScript or Jquery?
I have did like session["variable_name"] = "some value"; its not working
Even i tried like <%session["variable_name"] %> = "some value" this is not working either.
But it is possible to read from session.
It says .. there is no keyword named “Session” in Javascript.
Any work around …
Right now i have done it through Cookies, but i need to do this through session.
Anyone experienced here?
PHP session values are set on the server which means that the only way javascript can manipulate them is if you make a request to another page with ajax to set a value, for example:
JS:
PHP: