27 references to StateHeaders
System.Web (27)
State\StateRuntime.cs (15)
316
response.AppendHeader(
StateHeaders
.LOCKDATE_NAME_RAW, localLockDate.Ticks.ToString(CultureInfo.InvariantCulture));
317
response.AppendHeader(
StateHeaders
.LOCKAGE_NAME_RAW, lockAge.ToString(CultureInfo.InvariantCulture));
318
response.AppendHeader(
StateHeaders
.LOCKCOOKIE_NAME_RAW, content._lockCookie.ToString(CultureInfo.InvariantCulture));
328
response.AppendHeader(
StateHeaders
.ACTIONFLAGS_NAME_RAW, flags.ToString(CultureInfo.InvariantCulture));
429
exclusiveAccess = request.Headers[
StateHeaders
.EXCLUSIVE_NAME];
456
if (exclusiveAccess ==
StateHeaders
.EXCLUSIVE_VALUE_RELEASE) {
457
if (!GetRequiredNonNegativeInt32HeaderValue(context,
StateHeaders
.LOCKCOOKIE_NAME, out lockCookie))
479
if (exclusiveAccess ==
StateHeaders
.EXCLUSIVE_VALUE_ACQUIRE) {
484
response.AppendHeader(
StateHeaders
.LOCKCOOKIE_NAME_RAW, (content._lockCookie).ToString(CultureInfo.InvariantCulture));
488
response.AppendHeader(
StateHeaders
.TIMEOUT_NAME_RAW, (timeout).ToString(CultureInfo.InvariantCulture));
539
if (!GetOptionalNonNegativeInt32HeaderValue(context,
StateHeaders
.TIMEOUT_NAME, out timeoutMinutes)) {
548
ReportInvalidHeader(context,
StateHeaders
.TIMEOUT_NAME);
555
if (!GetOptionalInt32HeaderValue(context,
StateHeaders
.EXTRAFLAGS_NAME, out extraFlags, out found)) {
573
if (!GetOptionalNonNegativeInt32HeaderValue(context,
StateHeaders
.LOCKCOOKIE_NAME, out lockCookie)) {
649
if (!GetOptionalNonNegativeInt32HeaderValue(context,
StateHeaders
.LOCKCOOKIE_NAME, out lockCookie))
State\StateWorkerRequest.cs (12)
248
if (name.Equals(
StateHeaders
.EXCLUSIVE_NAME)) {
251
s =
StateHeaders
.EXCLUSIVE_VALUE_ACQUIRE;
255
s =
StateHeaders
.EXCLUSIVE_VALUE_RELEASE;
259
else if (name.Equals(
StateHeaders
.TIMEOUT_NAME)) {
264
else if (name.Equals(
StateHeaders
.LOCKCOOKIE_NAME)) {
269
else if (name.Equals(
StateHeaders
.EXTRAFLAGS_NAME)) {
306
ret[0][0] =
StateHeaders
.EXCLUSIVE_NAME;
308
ret[0][1] =
StateHeaders
.EXCLUSIVE_VALUE_ACQUIRE;
312
ret[0][1] =
StateHeaders
.EXCLUSIVE_VALUE_RELEASE;
320
ret[i][0] =
StateHeaders
.TIMEOUT_NAME;
328
ret[i][0] =
StateHeaders
.LOCKCOOKIE_NAME;
336
ret[i][0] =
StateHeaders
.EXTRAFLAGS_NAME;