SharePoint session persist across several users? -
i have custom web part starts getting current user login name this:
protected static string iam = system.web.httpcontext.current.request.servervariables["auth_user"].split("\\".tochararray())[1].tolower().
then passes string bbl class , fetches user id:
`idatareader _drinfo = cisf_bll.bll_myinfo.drgetmyinfo(iam); while (_drinfo.read()) { iuser_ident = _drinfo.getint32(30); }
`after passes user id integer method fetches user's training record:
_drusertraining = bll_training.drget_required_training_records(iuser_ident); _drusertrainingcompleted = bll_training.drget_completed_training_records(iuser_ident);
this information displayed in tab container 3 tab such "overdue", "required", , "completed".
the problem i'm having this: i'm logged sharepoint collaboration site domain user name , training displayed fine. if else logs in sp portal user sees training , not his, though user has logged in unique credential using common access card, i.
somehow strange session seems persist , hoping out here has encountered anomaly.
thanks in advance!
risho
you misusing static - static property stored once per web server process, not once per user.
Comments
Post a Comment