• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to enable/disable buttong based on session variable

 
Alka ravi
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator





Above is just a sample code in html. i want to enable/disable button based on session variable URL. Also, is the clearing logic for session variable is correct?
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65530
108
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JavaScript has no access to the server-side session. Where did you find this API that you are using?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!