• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

passing false value for session

 
v chenna
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what will happen if i give session.setAttribute("aaa",false); will its going to execute.
 
Hany Shafik
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think it will execute successfully, and an attribute with the name 'aaa' and value false (boxed) will be added to the session, however you can easily try it.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65335
97
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What happened when you tried it? Please don't ask JavaRanch to be your compiler. Try it yourself.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic