This content has been marked as final. Show 4 replies
Do you have ADDTOKEN="Yes" in your cflocation statement?
Does it work in Firefox, but not IE?
If that is the case it is most likely a P3P issue:-
Try setting a P3P compact policy header for your frame, try <cfheader name="P3P" value='CP="CAO PSA OUR"'>
As a test ,place <cfdump var="#session#"> next to where you display the session var. Note, in particular, whether the values of session.cfid and session.cftoken change the next time the iframe is loaded. If so, then that is probably the source of the problem. Session state was not properly maintained, and so Coldfusion started a new session in between the requests.
> ok, I set a session var to about 2K of text
> I have an iframe which is part of a menu navigation system.
> The content of that iframe is slow to get from the DB so I
> cache the HTML for it into a session var.
> If a user clicks a link, the iframe submits to itself, does
> a few things, and then cflocation's out to the chosen page.
> The next time this iframe is loaded( almost immediately) it
> reads the session var and it is EMPTY!
> I'm not overwriting it, not structDelete'ing it, Any time I
> set it outside of this page, it's done with a check to see
> if it isDefined first, and if so, does nothing.
> Are there known issues with CFParam? large text session vars?
So, I pulled out Fiddler, and lo and behold I was
making a call to my page with no params at one part
of the load and then later on, calling it again
properly with the correct params. I'm checking
for an empty URL param set now and all is well...
Thanks for your time on this folks!