For people with no cookies, you need to pass the apropriate info on the
url (this was always like this).

In MX you can use J2EE sessions and the function URLSessionFormat to do
that:

<a href="" &
variables.id)#">
<form method="Post"
action=""> <cflocation url=""> <form method="Get" action="">
If you are not using J2EE session, this won't work for the form with
method="get".
You will need to add two hidden form fields for that form:

<form method="Get" action=""> <input type="Hidden" value="#session.cfid#" name="cfid">
<input type="Hidden" value="#session.cftoken#" name="cftoken">

Or if you only want the info added when necessary (if cookies are turned
off or the server can't determine cookie support):
<form method="Get" action=""> <cfif "search.cfm" NEQ URLSessionFormat("search.cfm")>
  <input type="Hidden" value="#session.cfid#" name="cfid">
  <input type="Hidden" value="#session.cftoken#" name="cftoken">
</cfif>

HTH,
Pascal

> -----Original Message-----
> From: Paul Wilson [mailto:[EMAIL PROTECTED]
> Sent: vrijdag 4 juni 2004 9:21
> To: CF-Talk
> Subject: RE: User Authentication
>
> So session variables work differently in MX then? What about
> people with cookies turned off in their browsers?
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to