• Post Reply Bookmark Topic Watch Topic
  • New Topic

Sessions and access from javascript?

 
andy armstrong
Ranch Hand
Posts: 154
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is HttpSession information available to JavaScript code in a web page?
 
Sam Li
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I dont think so. But u can put the string value of the session object into the page at the server side. then u can access them in your javascript on client side. hope it helps.
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!