So the following code works perfectly in Firefox
<!--Cookies-->
<cfset timer = createTimeSpan(0,3,0,0)>
<cfcookie name = "user.ID" value = "#userID#" expires="#timer#"> <!--this will expire in three hours -->
<cfcookie name = "user.Site" value = "#userSite#" expires="#timer#">
<cfcookie name = "user.Sess" value = "#userSess#" expires="#timer#">
<cfcookie name = "user.FName" value = "#userFName#" expires="#timer#">
<cfcookie name = "user.LName" value = "#userLName#" expires="#timer#">
<cfcookie name = "user.Email" value = "#userEmail#" expires="#timer#">
<cfcookie name = "user.SiteFirst" value = "#userSiteFirst#" expires="#timer#">
<cfcookie name = "user.RoundsTotal" value = "#userRoundsTotal#" expires="#timer#">
<cfcookie name = "user.RoundsCurrent" value = "#userRoundsCurrent#" expires="#timer#">
<!-- And now we send the user off to wait.cfm where they will wait --->
<!-- Users will not head to choose their picture choice --->
<script type="text/javascript">
location.href='picChoice.cfm';
</script>
In Firefox, the values within all the cookies are passed perfectly. Any other browser, and all the cookies are null.
Hoping someone can see something wrong where I cannot. If you want to look at the full cfm, you can do so here : http://pastebin.com/4G4wvjLd
I think you have a load problem – where the browser is redirected prior to finalizing the cookie operation. Change your location.href to a cflocation or put it in the body “onLoad()” event (or use jquery’s load event to handle browser redirect nuances).