Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Is it possible to set session variables from javascript?

0
Posted

Is it possible to set session variables from javascript?

0

It’s not possible to set any session variables directly from javascript as it is purely a client side technology. You can use AJAX though to asyncronously… Cannot parse XML generated by JSP I am generating an XML using JSP, when i run the JSP in IE it shows the XML as per DOM, but when i try to parse it using Javascript , the command xmldoc.documentElement… This is working code I am using, it might help you. if (!isIE) xmldoc = req.responseXML; else { //IE does not take the responseXML as…

0
10

It’s not possible to set any session variables directly from javascript as it is purely a client side technology. You can use AJAX though to asynchronously send a request to a servlet running on the server and then add the data to the session from within the servlet. So you wouldn’t be using javascript to do the actual setting of session variables but it would look like it is.

0

It’s not possible to set any session variables directly from javascript as it is purely a client side technology. You can use AJAX though to asyncronously…

Cannot parse XML generated by JSP I am generating an XML using JSP, when i run the JSP in IE it shows the XML as per DOM, but when i try to parse it using Javascript , the command xmldoc.documentElement…

This is working code I am using, it might help you. if (!isIE) xmldoc = req.responseXML; else { //IE does not take the responseXML as…

0

JavaScript, Programming:AJAX Byron Tymvios, Jun 8, 2006 It’s not possible to set any session variables directly from javascript as it is purely a client side technology. You can use AJAX though to asyncronously…

0
10

Post Answer Answers to “Is it possible to set session variables from javascript?” :: Answer :: It’s not possible to set any session variables directly from javascript as it is purely a client side technology. You can use AJAX though to asyncronously… Cannot parse XML generated by JSP I am generating an XML using JSP, when i run the JSP in IE it shows the XML as per DOM, but when i try to parse it using Javascript , the command xmldoc.documentElement… This is working code I am using, it might help you. if (!isIE) xmldoc = req.responseXML; else { //IE does not take the responseXML as…

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123