User Profile

Collapse

Profile Sidebar

Collapse
piedpiper
piedpiper
Last Activity: Feb 26 '08, 11:57 AM
Joined: Feb 1 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • piedpiper
    replied to using System.Windows.Forms: namespace error
    in .NET
    hey..thanks for the reply...i actually opened it as a console app in visual studio..guess dats y i was gettin dat error.
    later compiled it thru csc.exe with the /target:exe switch..and it worked.
    thanks for the reply again....
    See more | Go to post

    Leave a comment:


  • piedpiper
    started a topic using System.Windows.Forms: namespace error
    in .NET

    using System.Windows.Forms: namespace error

    Dear All,

    When i use:
    using System.Windows. Forms;

    I get the following error when compiling:

    Error 3 : The type or namespace name 'Windows' does not exist in the namespace 'System' (are you missing an assembly reference?)

    How can i add windows in to the system namespace, any help is appreciated.

    Thanks in advance.
    See more | Go to post

  • well actually the mypsace.com sever sets 5-6 separate set-cookie headers and when u get it thru response.header s then all of them are pushed in to a single set-cookie header, i want to split them back and send them to the browser as 5 seperate set-cookie headers like the server had sent, but since every site has its own style for cookies am not sure i can write a regex which will work all the time. dats y i was looking for an alternate method....
    See more | Go to post

    Leave a comment:


  • hi plater, thanks for the reply.
    i did think about it as well, it would involve more code and i might possible miss out something.i have seen websites setting really weird cookies.i was hoping if there was a more direct way through which i could directly access the raw set-cookie headers, that way possibilities of introducing bugs would become less....
    See more | Go to post

    Leave a comment:


  • c#:collectin cookies frm httpwebresponse when multiple set-cookies headers r returned

    I am coding a http proxy in c# and using httpwebrequest class to send request to the web server, when the server returns multiple set-cookie headers then the httpwebresponse object combines them all in to a single set-cookie key-value pair.
    I am tryin to get the value of the headers in the following way.

    Code:
    for (int i = 0; i < response.Headers.Count; ++i)
     Console.WriteLine("{0}:{1}", respo
    ...
    See more | Go to post
No activity results to display
Show More
Working...