When i try to check Session["userId"] != null why i get this message Possible unintended reference comparrison; to get value comparrison; cast left hand side to string Any suggestion....
views:
209answers:
2
+2
A:
Session[key] returns an object, not a string - you should be casting it to string rather than relying on implicit casting or ToString() functionality.
slugster
2010-05-19 12:05:56
He speaks the truth.
runrunraygun
2010-05-19 12:08:09