[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mono-list
Subject:    Re: [Mono-list] HttpOnly cookies flag supported?
From:       "Andrés_G._Aragoneses" <knocte () gmail ! com>
Date:       2013-10-04 17:42:56
Message-ID: l2mumn$lng$1 () ger ! gmane ! org
[Download RAW message or body]

If you grep for HttpOnlyCookies, you get some things which I interpret 
as (if I'm not missing anything) the property being there (to not crash 
if someone sets it), but no source code using it, so I guess you'll need 
to create a pull request if you want it implemented.

For the record, the grep output I got:

knocte@ulises:~/Documents/Code/mono$ grep HttpOnlyCookies -ri ./mcs/class/
./mcs/class/System.Web/Documentation/en/System.Web.Configuration/HttpCookiesSection.xml: \
  <Member MemberName="HttpOnlyCookies">
./mcs/class/System.Web/Documentation/en/System.Web.Configuration/HttpCookiesSection.xml: \
  <MemberSignature Language="C#" Value="public bool HttpOnlyCookies 
{ set; get; }" />
./mcs/class/System.Web/Documentation/en/System.Web.Configuration/HttpCookiesSection.xml: \
  
<AttributeName>System.Configuration.ConfigurationProperty("httpOnlyCookies", 
DefaultValue="False")</AttributeName>
./mcs/class/System.Web/System.Web.Configuration_2.0/HttpCookiesSection.cs: 
static ConfigurationProperty httpOnlyCookiesProp;
./mcs/class/System.Web/System.Web.Configuration_2.0/HttpCookiesSection.cs: 
httpOnlyCookiesProp = new ConfigurationProperty ("httpOnlyCookies", 
typeof (bool), false);
./mcs/class/System.Web/System.Web.Configuration_2.0/HttpCookiesSection.cs: 
properties.Add (httpOnlyCookiesProp);
./mcs/class/System.Web/System.Web.Configuration_2.0/HttpCookiesSection.cs: 
[ConfigurationProperty ("httpOnlyCookies", DefaultValue = "False")]
./mcs/class/System.Web/System.Web.Configuration_2.0/HttpCookiesSection.cs: 
public bool HttpOnlyCookies {
./mcs/class/System.Web/System.Web.Configuration_2.0/HttpCookiesSection.cs: 
get { return (bool) base [httpOnlyCookiesProp];}
./mcs/class/System.Web/System.Web.Configuration_2.0/HttpCookiesSection.cs: 
set { base[httpOnlyCookiesProp] = value; }


On 04/10/13 19:35, James Wright wrote:
> 		public  static  HttpCookie  GetAuthCookie  (string  userName,  bool  \
> createPersistentCookie,  string  strCookiePath)


_______________________________________________
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic