• Post Reply Bookmark Topic Watch Topic
  • New Topic

passing false value for session  RSS feed

 
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
Posts: 65768
131
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
Boost this thread!