If you are going to be dumping things out in production, for the world to
see, I would stop that habit. The last thing you want to do is annoy your
clients / visitors with this stuff. People are not forgiving when they see
these things on the screen, personally if you have to do this, for god sake
lock this output down to your development IP address.

Really.... Why do people insist on making changes directly on a production
server... Seriously bad practice.

Regards,
Andrew Scott
WebSite: http://www.andyscott.id.au/
Google+:  http://plus.google.com/113032480415921517411



On Fri, Mar 7, 2014 at 12:56 PM, Money Pit <websitema...@gmail.com> wrote:

>
> Yup I'm doing that.  Put together a test page so as to take all of my code
> out of the picture... although that back end has been fine for years... The
> redesign was just a re-skin.  But to be thorough I made this:
>
> <cfapplication
>    name="test_0915"
>    sessionmanagement="Yes"
>    clientmanagement="Yes"
>    sessiontimeout="#CreateTimeSpan(0,0,5,0)#"
>    applicationtimeout="#CreateTimeSpan(0,2,0,0)#"
>    setclientcookies="Yes"
>    setdomaincookies="No">
>     <cfif isdefined("url.cReset")>
>         <cfloop
>             item="name"
>             collection="#cookie#">
>             <cfcookie
>                 name="#name#"
>                 value=""
>                 expires="now">
>         </cfloop>
>     </cfif>
>     <html><head><title>new.lelandwest.com/test/hello.cfm
> </title></head><body>
>     <cfoutput>
>     <p>#now()#</p>
>     <a href="#cgi.script_name#?creset=1">Clear cookie scope & reload
> page</a>
>     <p>
>     client:<br>#client.CFID# #client.cftoken#<br>
>     <cflock scope="SESSION" type="readonly" timeout="10">
>     session:<br>#session.CFID# #session.cftoken#<br>
>     </cflock>
>     cookie:<br>#cookie.CFID# #cookie.cftoken#
>     </cfoutput>
>     </p>
>     <cfdump var="#cookie#">
>     </body></html>
>
> From the above I have learned that no matter what cfdump gives me two
> cfid's and two cftokens.  but only for the old workstations running
> XP/IE8.  Don't have good diagnostics installed yet to see complete cookie
> data.  After some tinkering (i.e. getting desperate) I put in the
> setclientcookies and setdomaincookies entries and things now seem to be
> working across all test machines (4 of them).  But I have had this turn
> around on me before so I'll revisit tomorrow when I get back in.
>
> :-|
>
> Thanks for your help!
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357875
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to