GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
HTTP::WebTest::Cookies(3) User Contributed Perl Documentation HTTP::WebTest::Cookies(3)

HTTP::WebTest::Cookies - Cookie storage and management

    use HTTP::WebTest::Cookies;

    $cookie_jar = HTTP::WebTest::Cookies->new;

    $cookie_jar->accept_cookies($bool);
    $cookie_jar->send_cookies($bool);

    $cookie_jar->add_cookie_header($request);
    $cookie_jar->extract_cookies($response);

Subclass of HTTP::Cookies which enables optional transmission and receipt of cookies.

Returns the current setting of accept_cookies. If optional boolean parameter $optional_accept_cookies is passed, enables or disables receipt of cookies.

Returns

True if receipt of cookies is enabled; false otherwise.

Returns the current setting of send_cookies. If optional boolean parameter $optional_send_cookies is passed, enables or disables transmission of cookies.

Returns

True if transmission of cookies is enabled; false otherwise.

Overloaded method. If receipt of cookies is enabled, passes all arguments to "SUPER::extract_cookies". Otherwise, does nothing.
Overloaded method. If transmission of cookies is enabled, passes all arguments to "SUPER::add_cookie_header". Otherwise, does nothing.

Copyright (c) 2000-2001 Richard Anderson. All rights reserved.

Copyright (c) 2001-2003 Ilya Martynov. All rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

HTTP::WebTest

HTTP::WebTest::API

HTTP::Cookies

2003-07-14 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.