Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

return null  RSS feed

 
sam liya
Ranch Hand
Posts: 1246
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
here is the part of my code.

i find that when it comes to this line it returns null.why is that?
 
Shailesh Narkhede
Ranch Hand
Posts: 368
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please check THIS link
 
bhaskarvignesh chandra sekaran
Greenhorn
Posts: 17
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your piece of code means "Get an Old session "...if its not an old session, it will return null.
 
sam liya
Ranch Hand
Posts: 1246
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


if i used above code and after that i check below line is it ok
 
bhaskarvignesh chandra sekaran
Greenhorn
Posts: 17
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ya the "if" condition is fine.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!