Cookies Object Home
This page is specific to:.NET Framework Version:1.1
Application Center Test
Cookies Object

The Cookies collection represents all of the HTTP cookies a single Web browser would store as it requested pages from Web servers. Because dynamic tests simulate requests from multiple users, there can be several Cookies objects in use at once, and each one is associated with a particular User object.

By allowing the storage and updating cookies, the dynamic test will work with Web applications that rely on cookies to store information between ASP sessions.

Methods

Method Description
Add Adds a Cookie to the collection.
Remove Removes a Cookie from the collection.
RemoveAll Removes all Cookie objects from the collection.

Properties

Property Description
Count Gets the number of Cookie objects in the collection.
Item Returns a Cookie object from the collection.

See Also

Test Object Model Overview | Cookie Object

© 2009 Microsoft Corporation. All rights reserved.   Terms of Use | Trademarks | Privacy Statement
Page view tracker
Rate the Lightweight library
x
Lightweight builds on ScriptFree (loband) by adding features you've requested: a SearchBox and default code language selection.
Do you like the SearchBox?
Do you like the tabbed code blocks?
How useful is this topic?
Tell us more.
Thanks
x
You're helping to improve MSDN Online.
Feedback
Switch View
Classic
Lightweight Beta
ScriptFree
Switch View