setCookie
| session.setCookie( String domain, String key, String value ) (professional and enterprise editions only) |
| Description |
| Causes a cookie to be manually set on the current session state. Note that this method should be rarely used, given that screen-scraper automatically manages cookies. It might be necessary in cases where a site sets cookies via JavaScript. |
 |
| Example |
// Sets a cookie associated with "mydomain.com", using the // key "cookie_key" and the value "cookie_value". session.setCookie( "mydomain.com", "cookie_key", "cookie_value" ); |
|
|
Recent comments
9 hours 20 min ago
9 hours 27 min ago
11 hours 33 min ago
1 day 6 hours ago
1 day 7 hours ago
1 day 8 hours ago
1 day 8 hours ago
1 day 8 hours ago
1 day 8 hours ago
3 days 5 hours ago