simulating browser cookie management

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Martin Kuba

    #1

    simulating browser cookie management

    Hello,

    I am trying to write a script for testing web
    applications. It needs to be able to authenticate user
    and manage state through cookies. Is it possible to
    simulate cookie management like a browser? If so, how?

    Thank you,

    Martin Kuba
  • John Saunders

    #2
    Re: simulating browser cookie management

    Martin,

    Look at System.Net.Cook ieContainer.

    --
    John Saunders
    Internet Engineer
    john.saunders@s urfcontrol.com


    "Martin Kuba" <martin@loyalca re.com> wrote in message
    news:038f01c35a d3$47ded110$a60 1280a@phx.gbl.. .[color=blue]
    > Hello,
    >
    > I am trying to write a script for testing web
    > applications. It needs to be able to authenticate user
    > and manage state through cookies. Is it possible to
    > simulate cookie management like a browser? If so, how?
    >
    > Thank you,
    >
    > Martin Kuba[/color]


    Comment

    • Martin Kuba

      #3
      Re: simulating browser cookie management

      John,

      Thanks for your response. Do you know where I could find
      a real-world example of using this class? MSDN has only
      description of the class members. It would help me get
      up to speed faster. Thanks again.

      Martin

      [color=blue]
      >-----Original Message-----
      >Martin,
      >
      >Look at System.Net.Cook ieContainer.
      >
      >--
      >John Saunders
      >Internet Engineer
      >john.saunders@ surfcontrol.com
      >
      >
      >"Martin Kuba" <martin@loyalca re.com> wrote in message
      >news:038f01c35 ad3$47ded110$a6 01280a@phx.gbl. ..[color=green]
      >> Hello,
      >>
      >> I am trying to write a script for testing web
      >> applications. It needs to be able to authenticate user
      >> and manage state through cookies. Is it possible to
      >> simulate cookie management like a browser? If so, how?
      >>
      >> Thank you,
      >>
      >> Martin Kuba[/color]
      >
      >
      >.
      >[/color]

      Comment

      • John Saunders

        #4
        Re: simulating browser cookie management

        Martin,

        The code I gave you _is_ a real-world example. That's' all there is to it!

        Did you have more in mind?

        --
        John Saunders
        Internet Engineer
        john.saunders@s urfcontrol.com


        "Martin Kuba" <martin@loyalca re.com> wrote in message
        news:039101c35a d6$5c75efc0$a50 1280a@phx.gbl.. .[color=blue]
        > John,
        >
        > Thanks for your response. Do you know where I could find
        > a real-world example of using this class? MSDN has only
        > description of the class members. It would help me get
        > up to speed faster. Thanks again.
        >
        > Martin
        >
        >[color=green]
        > >-----Original Message-----
        > >Martin,
        > >
        > >Look at System.Net.Cook ieContainer.
        > >
        > >--
        > >John Saunders
        > >Internet Engineer
        > >john.saunders@ surfcontrol.com
        > >
        > >
        > >"Martin Kuba" <martin@loyalca re.com> wrote in message
        > >news:038f01c35 ad3$47ded110$a6 01280a@phx.gbl. ..[color=darkred]
        > >> Hello,
        > >>
        > >> I am trying to write a script for testing web
        > >> applications. It needs to be able to authenticate user
        > >> and manage state through cookies. Is it possible to
        > >> simulate cookie management like a browser? If so, how?
        > >>
        > >> Thank you,
        > >>
        > >> Martin Kuba[/color]
        > >
        > >
        > >.
        > >[/color][/color]


        Comment

        Working...