Hi,

I have just developed an application in CF 5 which is using session 
variables and I am coming across some strange behavior by CF.

On each page load CF is assigning a new session to each page visit, I 
know this as CFID increments by one after I use <CFDUMP VAR 
=�#session#�> at the top of the page. Every time I hit F5 CFID 
increments by 1.

This is the <CFAPPLICATION> tag:

-----------------------------------------------

<CFAPPLICATION  NAME="myAppHere" 
                                SESSIONMANAGEMENT="Yes" 
                                SETCLIENTCOOKIES="No" 
                                SESSIONTIMEOUT="#createtimespan(0,0,20,0)
#">
-----------------------------------------------

The client doesn�t want to use cookies so I am passing the CFID\CFTOKEN 
around in the URL as below:

<CFLOCK TIMEOUT="20" THROWONTIMEOUT="No" TYPE="READONLY" SCOPE="SESSION">
                        
<A HREF="publishArticle.cfm? <CFOUTPUT>#SESSION.URLToken#</CFOUTPUT>">a 
link</A>
</CFLOCK>

This is working fine on my development box (again CF5) but when we 
upload to the client�s server this increment problem happens?

If anyone could shed any light on this matter I would appreciate it.

Thanks

Oliver Cookson

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89
70.4
                                

Reply via email to