Forum Discussion
1 Reply
Sort By
- nathan12 years agoExecutive
You can add cookies using the http.client context object in FreeMarker:
The relevant example on that page is:
<#assign remember_login_cookie = http.request.createCookie("rem_login", "johnD") /> ${remember_login_cookie.setDomain("www.somewebservicedomain.com")} <#assign http_client_request = http.client.request("http", "www.somewebservicedomain.com", "/some/web/service") .cookie(remember_login_cookie) />
Related Content
- 7 years ago
- 2 years ago
- 11 months ago