Looks like the CF5 docs are wrong then. I just did a quick test and it looks like with CF5 they need to be in the URL scope before the <cfapplication> tag (not to be confused with application.cfm file).

CFMX 6.1 seems to handle them passed either in form fields or URL - can anyone confirm this?

Cheers
Bert

ps here's what i used:

<cfapplication setclientcookies="No" setdomaincookies="No" sessionmanagement="Yes" name="foo">

<cfoutput>
<form  action="" method="get">
<input type="text" name="cfid" value="#session.cfid#">
<input type="text" name="cftoken" value="#session.cftoken#">
<input type="Submit" value="passed in URL">
</form>
<form  action="" method="post">
<input type="text" name="cfid" value="#session.cfid#">
<input type="text" name="cftoken" value="#session.cftoken#">
<input type="Submit" value="passed in form field">
</form>
</cfoutput>

>
> -----Original Message-----
> From: stylo stylo [mailto:[EMAIL PROTECTED]
> Sent: 30 March 2004 07:36
> To: CF-Talk
> Subject: Re: form.cfid ignored. Why?
>
>
> From MM livedocs, cf5, which we are on: "you must maintain
> client state by passing CFID and CFToken between pages,
> either in hidden form fields or appended to URLs."
>
> > thats true, but there's nothing to stop you copying
> form.cfid and form.
> > token into into the URL scope, and this will do the trick
> as long as
> > its before the the CFapplication tag.
>
> Hmm. How do I ensure it's before the application? It's called
> first automatically, no?
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to