4 writes to _rqId
System.Web (4)
State\SessionStateModule.cs (4)
488
_rqId
= null;
658
_rqId
= _idManager.GetSessionID(_rqContext);
748
_rqId
= _idManager.CreateSessionID(_rqContext);
940
_rqId
= _idManager.GetSessionID(_rqContext);
39 references to _rqId
System.Web (39)
State\SessionStateModule.cs (39)
533
"Session_Start called for session id:" +
_rqId
);
659
Debug.Trace("SessionStateModuleOnAcquireState", "Current request id=" +
_rqId
);
663
if (
_rqId
== null) {
673
"resetting timeout for SessionId=" +
_rqId
+
679
_store.ResetItemTimeout(_rqContext,
_rqId
);
700
if (
_rqId
!= null) {
737
Debug.Assert(
_rqId
== null || // Session id isn't found in the request, OR
749
_idManager.SaveSessionID(_rqContext,
_rqId
, out redirected, out _rqAddedCookie);
765
Debug.Assert(
_rqId
!= null, "Session State ID must exist");
772
_store.SetAndReleaseItemExclusive(_rqContext,
_rqId
, _rqItem, _rqLockId, true /*_rqSessionStateNotFound*/);
884
_store.CreateUninitializedItem(_rqContext,
_rqId
, s_timeout);
888
Debug.Assert(
_rqId
!= null || s_allowInProcOptimization, "_rqId != null || s_allowInProcOptimization");
910
_rqId
, // could be null if we're using InProc optimization
931
Debug.Assert(
_rqId
== null, "Shouldn't be called if we already have the id");
942
if (
_rqId
== null) {
953
return
_rqId
;
960
Debug.Assert(
_rqId
!= null, "_rqId != null");
964
SessionStateStoreData storedItem = _store.GetItemExclusive(_rqContext,
_rqId
, out locked, out lockAge, out _rqLockId, out _rqActionFlags);
974
Debug.Assert(
_rqId
!= null, "_rqId != null");
978
_rqItem = _store.GetItem(_rqContext,
_rqId
, out locked, out lockAge, out _rqLockId, out _rqActionFlags);
981
_rqItem = _store.GetItemExclusive(_rqContext,
_rqId
, out locked, out lockAge, out _rqLockId, out _rqActionFlags);
987
if (_rqItem == null && locked == false &&
_rqId
!= null) {
990
_rqItem = _store.GetItemExclusive(_rqContext,
_rqId
, out locked, out lockAge, out _rqLockId, out _rqActionFlags);
1002
", id=" +
_rqId
);
1004
_store.ReleaseItemExclusive(_rqContext,
_rqId
, _rqLockId);
1008
"Item is locked, will poll, id=" +
_rqId
);
1057
if (!IsRequestQueueEnabled ||
_rqId
== null) {
1064
s_queuedRequestsNumPerSession.TryGetValue(
_rqId
, out count);
1072
s_queuedRequestsNumPerSession.AddOrUpdate(
_rqId
, 1, (key, value) => value + 1);
1076
if (!IsRequestQueueEnabled ||
_rqId
== null) {
1081
if (s_queuedRequestsNumPerSession.AddOrUpdate(
_rqId
, 0, (key, value) => value - 1) == 0) {
1084
((ICollection<KeyValuePair<string, int>>)s_queuedRequestsNumPerSession).Remove(new KeyValuePair<string,int>(
_rqId
, 0));
1179
Debug.Assert(
_rqId
!= null, "_rqId != null");
1181
"Polling callback called from timer, id=" +
_rqId
);
1238
if (
_rqId
== null) {
1243
Debug.Assert(
_rqId
!= null, "_rqId != null");
1244
return
_rqId
;
1303
Debug.Trace("SessionStateOnReleaseState", "Removing session due to abandonment, SessionId=" +
_rqId
);
1380
Debug.Trace("SessionStateOnReleaseState", "Release exclusive lock on session, SessionId=" +
_rqId
);