Andrew,

Here is an example of the form statement, in it where would you add the 
&#application.addtoken#?

         <cfform action="byra_forsikring.cfm" method="POST" enablecab="No">


At 11:39 AM 12/7/00 +0000, you wrote:
>Yep this is most likely the case.  They will have session level cookies
>disabled in their browsers.  To get around this put the following code in
>your Application.cfm:
>
><cfif NOT ISDEFINED("Client.rollCount")>
>         <cfset Client.rollCount = 1>
>         <!--- Try to set a cookie for testing later --->
>         <cfcookie name="isOn" value="testing">
>         <!--- These 2 variables are used in Java applet instead of addtoken
>--->
>         <!--- This sets addtoken --->
>         <cfset application.addtoken =
>"cfid=#client.cfid#&cftoken=#client.cftoken#">
><cfelse>
>         <!--- If cookies are not on then make a query string --->
>         <cfset application.addtoken = iif(not isdefined("cookie.isOn"),
>DE("cfid=#client.cfid#&cftoken=#client.cftoken#"), DE(""))>
></cfif>
>
>and then append &#application.addtoken# to every hyperlink, form posting and
>cflocation (with addtoken = "no") in your application.  This will ensure
>steate is maintained even if the user has session vars turned off as their
>cfid and token will be passed in the url o neach page call.
>
>------------------------------------------------------------------
>Andrew Ewings
>Project Manager
>Thoughtbubble Ltd
>http://www.thoughtbubble.net
>------------------------------------------------------------------
>United Kingdom
>http://www.thoughtbubble.co.uk/
>Tel: +44 (0) 20 7387 8890
>------------------------------------------------------------------
>New Zealand
>http://www.thoughtbubble.co.nz/
>Tel: +64 (0) 9 419 4235
>------------------------------------------------------------------
>The information in this email and in any attachments is confidential and
>intended solely for the attention and use of the named addressee(s). Any
>views or opinions presented are solely those of the author and do not
>necessarily represent those of Thoughtbubble. This information may be
>subject to legal, professional or other privilege and further distribution
>of it is strictly prohibited without our authority. If you are not the
>intended recipient, you are not authorised to disclose, copy, distribute, or
>retain this message. Please notify us on +44 (0)207 387 8890.
>
>
>
>-----Original Message-----
>From: KW [mailto:[EMAIL PROTECTED]]
>Sent: 07 December 2000 11:35
>To: CF-Talk
>Subject: Re: session variables
>
>
>Do the systems that loose the session variables have their browsers
>set to accept  cookies?
>
>Kevin
>
>On Thu, 07 Dec 2000 12:21:00 +0100, you wrote:
>
> >I am getting a strange occurrences with session variables on a project.  On
>
> >some systems that login to the project it looses the session variables and
> >on others it does not loose any of the session variables.   Anyone have any
>
> >ideas?
> >
> >Dominic
> >
> >
> >
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to