How to create a HTTPS form to get secure cookies?
Hello!I need to get some secure cookies from a browser when a user push a button at a form. But how do I tell the form to use HTTPS?
Is this a common solution:
<form action="https://192.168.0.1/int_2/SessionSecureCookies_4d" method="post">
or is should a give the form some other argument?
When I use the above the browser says that it can not create a connection to the server. But perhaps I need to install some certificate at the server?
I use orion so if any one could give some clues it would be great!
Best regards
Fredrik
BTW
when I set a cookie I do it like:
Cookie cookie2 = new Cookie("int_2_name_secure", (String)form.get("cookie_value"));
cookie2.setMaxAge(10800);
cookie2.setSecure(true);
response.addCookie(cookie2);
Is there some method that can tell me if it is possible to use cookies like isCookiesEnable() ...but I have not found any?
