> 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.

Since you're not using cookies, the only way for it to maintain a
Session is to pass the CFID and CFTOKEN in the URL... So, if you're
hitting F5 on the page that creates the Session for you, then it won't
think you're the same person, so it'll make a new Session for you

Try linking to another page with a CFID and CFTOKEN in the URL and then
see what the <CFDUMP VAR="#Session#"> returns, it should keep the same
CFID (for obvious reasons)

HTH


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

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

Reply via email to