S
sotec
erroe message and code portion is like this....
how can i change this code to not occur to error
if (page.Session["UserId"] == null || page.Session["UserId"] !=
userId )
{
UserStatusSetting(page, userId);
}
Warning 2 Possible unintended reference comparison; to get a value
comparison, cast the left hand side to type 'string'
c:\inetpub\wwwroot\Minks\App_Code\SessionManager\SiteSessionManager.cs 28 51
http://localhost/Minks/
how can i change this code to not occur to error
if (page.Session["UserId"] == null || page.Session["UserId"] !=
userId )
{
UserStatusSetting(page, userId);
}
Warning 2 Possible unintended reference comparison; to get a value
comparison, cast the left hand side to type 'string'
c:\inetpub\wwwroot\Minks\App_Code\SessionManager\SiteSessionManager.cs 28 51
http://localhost/Minks/