Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cfcookie

Status
Not open for further replies.

ddfff

MIS
Sep 27, 2002
125
0
0
US
I am using cfcookie in an app as follows. Also note that I am not using cflocation anywhere else on the page.


<cfcookie name="LoginID" value="#LoginUser.ID#" expires="NEVER" domain="DPP">

After setting I have the following line to output the cookie:
<cfif isdefined("cookie.loginid")>
cfdump var="#cookie.loginid#">
</cfif>

It works until I close the browser and reload the page. Then it does not seem to notice the presence of the cookie.

I thought since expires=never, then it should keep it in the browsers memory until cookies are deleted.

Any suggestions greatly appreciated. Thanks in advance.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top