Search

You searched for the word(s): userid:811889

Matching Posts

  • Re: add cookie for another domain

    Little more digging and found out the cookie is being set even when domain property is used, its not shown in the firefox's list of cookies though. It can been seen using Request.Cookies["cookiename"].<property> When I don't set the domain property, it shows up in the firefox's cookie list. What is this mystery? Why does it not come up in browser list when I set the domain?
    Posted to Security (Forum) by greatbear on 11/1/2009
  • Re: add cookie for another domain

    But when I use the code mentioned, the cookie does not get set. In fact no matter what I put in cookie.Domain property, the cookie does not get set. I even tried "localhost". But when I comment out the domain line, the cookie gets set. I use latest firefox (as of today), and check the cookies from Tools>Options>Show Cookies When the cookie does get set (in case of commenting the line), the host of the cookie is set to "localhost"
    Posted to Security (Forum) by greatbear on 10/31/2009
  • add cookie for another domain

    Is it possible to add a cookie for a domain that I don't own? for example, if my code is running from example.com, is it possible to do : HttpCookie cookie = new HttpCookie("name", "value"); cookie.Domain = "microsoft.com"; Response.Cookies.Add(cookie); Any help greatly appreciated!
    Posted to Security (Forum) by greatbear on 10/30/2009
    Filed under: C#, cookie, domain
  • Write file to remote computer

    I have a web application which will be running on the intranet. It basically takes some input and writes data to table and also creates a file. The problem is I want to create this file on a computer sitting on DMZ (outside the intranet). The target computer is not joined to a domain. Currently if I try to write the file, I get access denied error message. How do I get some sort of authentication? Impersonation is not going to work because I'm writing file outside the domain, so security token
    Posted to Security (Forum) by greatbear on 9/26/2009
    Filed under: access denied, ACL, filesystem
  • How to serialize an object of a .NET Framework class not marked as Serializable?

    How to serialize an object of a .NET Framework class not marked as Serializable? I get the following error message when I try to serialize an object of my class, which contains object of System.DirectoryServices.SearchResultCollection. I'm using BinaryFormatter for serialze. Type 'System.DirectoryServices.SearchResultCollection' in Assembly 'System.DirectoryServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' is not marked as serializable.
    Posted to State Management (Forum) by greatbear on 9/21/2009
    Filed under: c#, Serialization
  • Re: WebRequest cookies

    Thanks Haissam. On another thought, is it possible to make a WebRequest from ServerA to ServerB , and tell Server B to send response data to a Client X instead of Server A?
    Posted to State Management (Forum) by greatbear on 8/14/2008
  • Re: WebRequest cookies

    Thanks Sid. I've used fiddler. But the problem is a bit different right now: The name/value pairs of cookies is just fine. The main problem is the domain of the cookie. The middleman, i.e the webserver needs to *pass on* the cookie obttained from the third party server to the client browser. But when we use Response.Cookies.Add(cookie) in the script residing on web server, the domain of the cookie obtained from third party server gets changed to the domain value of web server. I'm wondering
    Posted to State Management (Forum) by greatbear on 8/13/2008
  • WebRequest cookies

    Hello I'm having trouble with cookies obtained through WebRequest and hope to find a solution here. I'm trying to submit form values using WebRequest Dim Login_Url As String = "< my url>" Dim postData() As Byte = Encoding.ASCII.GetBytes("< my data>") Dim webReq As HttpWebRequest = WebRequest.Create(Login_Url) webReq.Method = "POST" webReq.Headers.Add("Pragma", "no-cache") webReq.Headers.Add("Expires", "0") webReq
    Posted to State Management (Forum) by greatbear on 8/13/2008
    Filed under: cookie, cookie persistent, Cookies
  • Re: Exchange Login exchweb/bin/auth/owaauth.dll

    [quote user="greatbear"] Hi JP Thanks for your post. We are using Exchange 2003. This seems to be really useful since I had found nothing like an Exchange API before. There is one bit of a problem left. Assuming this API is compatible with Exchange 2003, it seems like to use this class, I have to add a reference to Microsoft.Sharepoint.Portal.dll. To get this assembly, I did the following: Installed Sharepoint Services 3.0 Installed WSS Service Pack 1.0. Then I looked inside the folder
    Posted to Security (Forum) by greatbear on 8/12/2008
  • Re: Exchange Login exchweb/bin/auth/owaauth.dll

    Hi JP Thanks for your post. We are using Exchange 2003. This seems to be really useful since I had found nothing like an Exchange API before. There is one bit of a problem left. Assuming this API is compatible with Exchange 2003, it seems like to use this class, I have to add a reference to Microsoft.Sharepoint.Portal.dll. To get this assembly, I did the following: Installed Sharepoint Services 3.0 Installed WSS Service Pack 1.0. Then I looked inside the folder C:\Program Files\Common Files\Microsoft
    Posted to Security (Forum) by greatbear on 8/12/2008
Page 1 of 3 (27 items) 1 2 3 Next >