We are using CF4.5 for our applications. We have some new software that we want to use along side of it that uses html pages. I want to set cookies in the cf pages to store login information to pass on to the html pages. So far I've had no luck doing this. I set the cookies and then try to retrieve them on the html page with a javascript function.
In the CF page:
<cfcookie name="loggedin" value="yes">
In the html page:
function Preinitialize(){
$frm.fld0.value= getCookie("loggedin");
}
This is executed onLoad.
We've never used cookies in anything before this and I have only used javascript for very basic form validation.
Please help?
Thanks in advance,
mkyzar
In the CF page:
<cfcookie name="loggedin" value="yes">
In the html page:
function Preinitialize(){
$frm.fld0.value= getCookie("loggedin");
}
This is executed onLoad.
We've never used cookies in anything before this and I have only used javascript for very basic form validation.
Please help?
Thanks in advance,
mkyzar