1 write to _context
System.Web (1)
Util\AspCompat.cs (1)
172
_context
= context;
80 references to _context
System.Web (80)
Util\AspCompat.cs (80)
177
if (_sessionId == null &&
_context
!= null &&
_context
.Session != null)
178
_sessionId =
_context
.Session.SessionID;
211
get { return (
_context
!= null); }
223
if (
_context
== null)
225
HttpSessionState session =
_context
.Session;
276
HttpContext context = Current.
_context
;
398
if (
_context
!= null) {
597
return (
_context
!= null) ? 1 : 0;
601
_context
.Application.Lock();
605
_context
.Application.UnLock();
609
return StringArrayToString(
_context
.Application.AllKeys);
613
return DictEnumKeysToString((IDictionaryEnumerator)
_context
.Application.StaticObjects.GetEnumerator());
617
return
_context
.Application[name];
621
_context
.Application[name] = obj;
625
_context
.Application.Remove(name);
629
_context
.Application.RemoveAll();
633
return
_context
.Application.StaticObjects[name];
641
return CollectionToString(
_context
.Request.QueryString);
643
return CollectionToString(
_context
.Request.Form);
647
return CollectionToString(
_context
.Request.ServerVariables);
654
return CookiesToString(
_context
.Request.Cookies);
658
return
_context
.Request.TotalBytes;
662
return
_context
.Request.InputStream.Read(bytes, 0, size);
666
return CookiesToString(
_context
.Response.Cookies);
670
_context
.Response.Cookies.Add(new HttpCookie(name));
674
_context
.Response.Cookies[name].Value = text;
678
_context
.Response.Cookies[name].Values[key] = value;
682
_context
.Response.Cookies[name].Expires = DateTime.FromOADate(dtExpires);
686
_context
.Response.Cookies[name].Domain = domain;
690
_context
.Response.Cookies[name].Path = path;
694
_context
.Response.Cookies[name].Secure = (secure != 0);
698
_context
.Response.Write(text);
702
_context
.Response.OutputStream.Write(bytes, 0, size);
706
_context
.Response.Redirect(url);
710
_context
.Response.AppendHeader(name, value);
714
_context
.Response.Pics(value);
718
_context
.Response.Clear();
722
_context
.Response.Flush();
726
_context
.Response.End();
730
_context
.Response.AppendToLog(entry);
734
return
_context
.Response.ContentType;
738
_context
.Response.ContentType = contentType;
742
return
_context
.Response.Charset;
746
_context
.Response.Charset = charSet;
750
return
_context
.Response.CacheControl;
754
_context
.Response.CacheControl = cacheControl;
758
return
_context
.Response.Status;
762
_context
.Response.Status = status;
766
return
_context
.Response.Expires;
770
_context
.Response.Expires = expiresMinutes;
774
return
_context
.Response.ExpiresAbsolute.ToOADate();
778
_context
.Response.ExpiresAbsolute = DateTime.FromOADate(dtExpires);
782
return
_context
.Response.BufferOutput ? 1 : 0;
786
_context
.Response.BufferOutput = (isBuffering != 0);
790
return
_context
.Response.IsClientConnected ? 1 : 0;
794
return
_context
.Server.CreateObject(progId);
798
return
_context
.Server.MapPath(logicalPath);
806
return
_context
.Server.UrlEncode(str);
810
return
_context
.Server.UrlPathEncode(str);
814
return
_context
.Server.ScriptTimeout;
818
_context
.Server.ScriptTimeout = timeoutSeconds;
822
_context
.Server.Execute(url);
826
_context
.Server.Transfer(url);
830
return (
_context
.Session != null) ? 1 : 0;
834
return
_context
.Session.SessionID;
838
return
_context
.Session.Timeout;
842
_context
.Session.Timeout = value;
846
return
_context
.Session.CodePage;
850
_context
.Session.CodePage = value;
854
return
_context
.Session.LCID;
858
_context
.Session.LCID = value;
862
_context
.Session.Abandon();
866
return EnumKeysToString(
_context
.Session.GetEnumerator());
870
return DictEnumKeysToString((IDictionaryEnumerator)
_context
.Session.StaticObjects.GetEnumerator());
874
return
_context
.Session[name];
878
_context
.Session[name] = obj;
882
_context
.Session.Remove(name);
886
_context
.Session.RemoveAll();
890
return
_context
.Session.StaticObjects[name];