Cflocation and IE 11

We recently upgraded to IE 11 as our browser at work and I noticed today that any document that has a cflocation is having problems.  On the first try, the cflocation code is ignore.  Subsequent attempts show the browser 'working' but not doing anything.
While I could put our site in the compatibility list, it means that any of all of our users would have to do the same.  Is there a workaround?
As an example, this is one page of our site:
Mackenzie Tuttle Receives the Don Davoren Rocky Mountains Regional Scholarship
I have breadcrumbs at the top of the page.  If you click on one of the last few  (2014, honour-awards, committees) you go to the root of that directory which has an index.cfm that redirects to the appropriate location.
This worked fine in IE 9 and works fine in Chrome and other browsers.  It seems to be an IE 11 thing.
Sue

I opened your link in IE 11 and clicked on (2014, honour-awards, committees). Everything seems to work as expected.
If it fails for you, then could you please let us know how you implement cflocation? What do you then expect to happen? What actually happens?

Similar Messages

  • Trouble with CFLOCATION and Proxy Servers

    Hi,
    Trying to troubleshoot an annoying issue and wondering if
    anyone has had any experience with this - haven't had much luck
    Googling for info. Using up-to-date CF 6.1 and current version of
    Apache 2.0. Client is accessing our CF webapps via a clustered
    proxy server/firewall archicture. Each time client users HTTP POST
    through one of our applications, the page they are redirected to
    only displays a small portion of unprocessed raw source page
    content, the remaining page content never seems to make it to the
    client's browser. The only way they can a valid version of the page
    is to refresh the browser. I verified that small portion of raw
    source content is returned by the application during these
    redirects using an HTTP sniffer, however my office PC still
    redirects to the correct page. We are using <CFLOCATION> tags
    to move users between pages after submitting.
    I suspect this problem has to do with their proxy server(s)
    holding HTTP 302 responses to the literal standard, which
    (paraphrasing) basically states that while the URI has been moved,
    it is up to the client to continue the actual redirect. I believe
    HTTP 303 responses would be the "correct" implementation. Having
    said that, we've never run into this issue with any other client
    users before.
    Has anyone ever run into similar issues before? Any help is
    greatly appreciated.
    Thanks,
    DTS

    Replace
    byte[] buf = null;with
    byte[] buf = new byte[ 256 ];Other problems may happen if this sample was not tested properly.
    The problem is that the DatagramPacket requires you to supply a non-null buffer, as per:
    DatagramPacket
    public DatagramPacket(byte[] buf, int length)
    Constructs a DatagramPacket for receiving packets of length length.
    The length argument must be less than or equal to buf.length.
    Parameters:
    buf - buffer for holding the incoming datagram.
    length - the number of bytes to read.
    Edited by: baftos on Jul 18, 2008 3:38 PM

  • Application.cfm /cflocation and redirection of changed link

    I have a link on my site http://www.mysite.com/ssl/oldpage.cfm that I have renamed to http://www.mysite.com/ssl/newpage.cfm.
    Many of my users have the old page bookmarked etc..................
    Is there a way to put code in the application.cfm that says if user trys to go to old page automatically redirect them to the new page?

    Not in the application CFC.
    But there is a great place to put code like that in most web server configurations.
    If not that, then the next level would be defining the "missing template handler" in the ColdFusion administrator.
    Finally, if you can't do either or those, keep the old file, but replace all of it's code with a <cfheader...> redirect (or a <cflocation...> permanent redirect if you are on a new version of ColdFusion.
    But, really, this is a web server level task and that is the best place to put this if you have contorl of yours.

  • "cflocation" Page Referer is gone

    I am trying to redirect users based on a value of a session
    variable when the page is refreshed.
    This is working very well, but when the user clicks the back
    button, they loose the referring page where they started.
    glare.cfm is the main page, when this page is refreshed and
    the user is redirected to another page through the
    <cflocation> tag, the referring page "glare.cfm" disappears.
    When user clicks the back button, I need to redirect back to
    the glare.cfm.

    also if your using cookies to keep the pages in order...keep
    in mind...cflocation and cfcookies dont mix very well..

  • ColdFusion 11 Questions

    I have a few questions about CF 11. I have just installed CF 11 on a Windows 8 server. This
    is an all new server and software installation. It isn’t to where it can be
    viewed outside of our network just yet until we have everything installed and
    running properly on it. When it is all complete we will turn off the current
    server and change the name of this one and make it public. We have the
    certificate on it from the live site. So the name of the certificate and the
    name of the server do not match.I have had my websites on CF 7, CF 8 and CF 9
    servers previously.
    We have used mappings on all of our previous versions with image tags and ahref tags. Have
    things changed in CF 11 to not allow this anymore? An example is <img
    src="/PACTlogin/loginIMages/LoginPicture1.jpg" alt="Login Image"
    />.(/PACTlogin is the mapping) We use the mappings like this because we have
    dynamic pages being built. The same goes for ahref tags. An example of it is <a
    href="/pact/pactacademy/Index.cfm">PACT Academy</a> (/pact
    is the mapping). I have the mapping set up in the administrator just like I
    have used on all previous versions of CF. On CF 11 it says the image is
    missing. When you right click on the image it is actually looking for the image
    in a folder called PACTlogin or pact. Which doesn’t actually exist because it
    is a mapping. The mappings continue to work as expected in CF tags like
    cflocation or cfinclude. What is the work around to get this to work again? Do
    you create an application variable in the Application.cfc and use it in the tag
    like <img src="<cfoutput>#application.Addr#</cfoutput>/login/loginIMages/LoginPicture1.jpg"
    alt="" />? Is there a better way to do this? What are some ideas?
    I have googled lots of things and haven’t come up with much except that CF is being
    used with HTML 5 and since HTML tags like img and ahref are not cf tags it
    doesn’t recognize the link as a mapping as it did before. Is this correct?
    I have taken and created an application variable on Application.cfc and used it in place of
    the mappings and it still isn’t working. An example is <img src="<cfoutput>#application.Addr#</cfoutput>/login/loginIMages/LoginPicture1.jpg"
    alt="login Image" />. Any ideas on why this won’t work either?
    Here is what my page looks like now.
    This is what the page looks like when I go directly to the image in the browser.
    It is totally blank. Not even an X…
    I would appreciate any help or ideas. Thank you in advance.

    If your HTML <IMG> tag is pointing to a normal image (PNG, JPG, GIF, etc...) then ColdFusion is not involved whatsoever.  Only the webserver, IIS, serves images using the code you've entered.  IIS has no idea what your CF Mappings are.  CFLocation and CFInclude, however, are CF tags and so are processed by CF and are aware of the CF mappings.
    What I imagine has happened is your old servers has Virtual Directories defined in IIS that were identical to your CF Mappings.  Compare you directory structures in IIS between your old and new servers to see if this is the case.

  • Login with conditions problems

    What is wrong with this function? I am trying to create a
    user login that
    checks to make sure the user is in the database first, then
    check the active
    level. If the level is 1 then set sessions and redirect, if 2
    then redirect
    to the login page and send a URL variable of
    account=suspended, if 0 then
    redirect to the login page sending a URL variable of
    account=inactive, etc.
    I want to query the db first to see if the user is in the
    datasbase. If yes,
    then check the active number. I am getting this error in the
    conditional
    statement to check the 'active' column.
    'You have attempted to dereference a scalar variable of type
    class
    java.lang.String as a structure with members'
    What am I missing?
    <cffunction name="UserLogin" access="remote"
    returntype="void">
    <cfargument name="username" type="string"
    required="yes">
    <cfargument name="password" type="string"
    required="yes">
    <cfquery name="login" datasource="***">
    Select username, password, priv FROM users_database
    WHERE username='#arguments.username#' AND
    password='#arguments.password#'
    </cfquery>
    <cfif login.recordcount NEQ 0>
    <cfif login.active EQ 1>
    <cflock scope="session" timeout="30" type="exclusive">
    <cfset Session.MM_Username = #arguments.username#>
    <cfset Session.SitePriv = #login.priv#>
    </cflock>
    <cflocation url="/clinic/contribute/main/index.cfm"
    addtoken="no">
    <cfelseif login.active EQ 0>
    <cflocation
    url="/clinic/contribute/index.cfm?account=inactive"
    addtoken="no">
    <cfelseif login.active EQ 2>
    <cflocation
    url="/clinic/contribute/index.cfm?account=suspended"
    addtoken="no">
    <cfelseif login.active EQ 3>
    <cflocation
    url="/clinic/contribute/index.cfm?account=banned"
    addtoken="no">
    </cfif>
    <cfelse>
    <cflocation
    url="/clinic/contribute/index.cfm?login=failed" addtoken="no">
    </cfif>
    </cffunction>

    Sabaidee as covered why your code didn't work. here's some
    more pointers
    where your code could be improved...
    > <cffunction name="UserLogin" access="remote"
    returntype="void">
    Set output="false" on all methods unless you actually are
    outputting stuff
    from them (which generally you should not).
    I doubt this method would be appropriate for calling as a
    webservice (given
    it ends with a <cflocation>), so don't expose it as
    one. access="public".
    Add hints to all your <cffunction> and
    <cfargument> tags. It assists
    sanity checking and code documentation.
    > <cfquery name="login" datasource="***">
    You have not VARed the login variable. This is poor practice
    unless you
    explicitly mean to not VAR it.
    > WHERE username='#arguments.username#' AND
    password='#arguments.password#'
    Always use <cfqueryparam> tags. It improves performance
    and reduces memory
    consumption on your DB server.
    > <cflock scope="session" timeout="30"
    type="exclusive">
    > <cfset Session.MM_Username = #arguments.username#>
    > <cfset Session.SitePriv = #login.priv#>
    > </cflock>
    There's no need to lock this sort of variable assignment.
    > <cflocation url="/clinic/contribute/main/index.cfm"
    addtoken="no">
    It's pretty poor practice to use <cflocation> within a
    function. You CFM
    page should call a method, and get a response back from it.
    And then the
    CFM page should decide whether to <cflocation> or not.
    Possibly your
    function should set the URL for the <cflocation> and
    return the value.
    Then the calling code should use than in a <cflocation>
    call.
    > <cfelseif login.active EQ 0>
    This if/elseif/else construct would be better done as a
    switch. Rule of
    thumb: evaluating the same variable for many conditions:
    switch.
    evaluating different variables for many conditions:
    if/elseif/else.
    Adam

  • Unable to call 2 js onClick events

    My form is populating values on the action page but I don't
    really need the display, I just need it printed, I tried it many
    ways but for now I'm stuck with onload=window.print
    The issue is though, that I need another cfm thank you page
    to be displayed when the printing process is done. On the action
    page I cannot do js because the popup blockers wont allow it. so I
    tried an onclick= on the form submit. Problem though, the form is
    submitted through an image so I already use the onclick= I tried so
    many ways to put them both on the same attrib and for a moment I
    thought it was already working, but now it doesn't, and only 1 of
    the events are launched.
    Here's my tag the way it looks now:
    <input type="image" name="print" src="images/print1.jpg"
    height="40" width="45"
    onclick="this.form.action='complete.cfm?action=p';
    this.form.submit() &&
    window.open('letter_thanks.cfm?reset=0','thanks','width=500,height=550,scrollbars=yes');" >
    Only the form is submitted, the popup is not activated!
    Anyone know why?
    Again I would love it if CF would allow towards the end of
    the loop on action page to call upon that page,but I tried
    cflocation and it doesnt work.

    by starting a new thread i will lose all change that
    i have done in the applet. new thread in the forums... what does that have to do either way with your applet? the forum is not tied to your code, neither would a Java thread, which you can always keep a copy of your original code. Or what are you talking about?
    the problem is that i have
    a applet in one window ...which can be modified (that
    is rotate etc). now i need to open another new window
    from this window . in this new window i want to
    display the modified applet . so tell me who can i
    capture the change in the appletI already answered your other thread that you did, finally, post.

  • Cflocation within onRequestStart() *and* onRequestEnd() producing a concatenated URL

    I've writtten some code which stores the URL to which we want to redirect the user in a variable, rather than cflocating them immediately. This allows us to do subsequent code processing before the redirection actually occurs.
    Sometimes I want redirection occur before any page processing is done (such as when the user must be taken to the "Change your password" page) -- in which case the cflocation is done as the last line in onRequestStart() -- and sometimes I want it to occur after the page has been processed (such as at the end of the page that processes their login) -- in which case the cflocation is done as the last line in onRequestEnd().
    All was nice and sunny until we upgraded to 9.0.1.
    In earlier versions, onRequestEnd() wasn't being executed and cflocation was therefore only being called once.
    After upgrading, instead of the user being redirected to (say) "/options/", they are being redirected to (the invalid URL) "/options/,/options/". The URL appears to be being concatentated  (once when called from onRequestStart() and once from onRequestEnd() ) and  then sent to the client.
    This change in behaviour is because of one of the issues fixed in Adobe® ColdFusion® 9.0 Update 1 (issue 80798, "The function onRequestEnd fails to execute when the tags cfabort or cflocation is used.")
    Can I suggest an alteration be made in future versions or fixes? Either:
    a) developers are enabled to programmatically determine the URL to which a cflocation has been issued (which would allow me to skip the call to cflocation in onRequestEnd() ), or
    b) if a cflocation has been issued, ColdFusion doesn't honour any subsequent calls to cflocation.
    Thanks.

    Thanks for the reply, Dan.
    Yeah, that's what I've ended up doing... just using a Appliction.cfc-level boolean to determine whether we've already done a cflocation yet or not.
    I inherently don't like having to do that, and am almost certain someone once told me how (using Java) you can read the cflocation "queue", but can't lay my hand on the correspondence.
    Anyway, it's working again, so thanks!

  • On the input :   error message if there is no such id in the database to edit?  and out put comments messed up the whole

    The first page (CoGetEditForm.cfm lets you input the co id
    then it get to the next page for you to edit (CoEditForm.cfm). then
    it lets take action and UPDATEs (CoEditAction.cfm) finally, it goes
    to the colist.cfm to query results and outputs it to html format.
    <td>#comm#</td>
    Question is that:
    1. where and what do I do to have an error message if there
    is no such id in the database to edit?
    2. the out put comments messed up the whole query results
    when I added it to the html out put results. What can I do to clean
    this up and where do I put the code?
    <!-------------------------edit
    page----------------------------->
    <html>
    <head>
    <title>Main Title</title>
    <link rel="stylesheet" href="styles.css">
    </head>
    <body>
    <h1>Edit a Co based on co_ID</h1>
    <table>
    <cfform action="CO_EditForm.cfm" method="POST">
    <tr>
    <td>Co_ID</td>
    <td>
    <cfinput type="Text"
    name="Co_ID"
    message="Please enter the Co_ID"
    validate="integer"
    required="Yes"
    size="22"
    maxlength="20">
    </td>
    </tr>
    <tr>
    <td> </td>
    <td>
    <input type="submit" value="GetCo">
    </td>
    </tr>
    </cfform>
    </table>
    </body>
    </html>
    <!------------------------------------------CO_EditForm.cfm
    page------------------------------------->
    <cfquery name="GetCo"
    datasource="#Request.MainDSN#">
    SELECT
    COName,
    ADD,
    City,
    st,
    zip,
    comm
    FROM
    CO
    WHERE
    Co_ID = #Val(Co_ID)#
    </cfquery>
    <html>
    <head>
    <title>Main Title</title>
    <link rel="stylesheet" href="styles.css">
    </head>
    <body>
    <h1>Edit a CO</h1>
    <table>
    <cfform action="COEditAction.cfm" method="POST">
    <cfoutput>
    <input type="hidden" name="COID" value="#Val(COID)#">
    </cfoutput>
    <tr>
    <td>CO Name</td>
    <td>
    <cfinput type="Text"
    name="COName"
    value="#GetCO.COName#"
    message="Please enter a name for this CO."
    required="Yes"
    size="40"
    maxlength="40">
    </td>
    </tr>
    <tr>
    <td>ADD</td>
    <td>
    <cfinput type="Text"
    name="ADD"
    value="#GetCO.ADD#"
    message="Please enter this new CO's ADD."
    required="Yes"
    size="32"
    maxlength="30">
    </td>
    </tr>
    <tr>
    <td>City</td>
    <td>
    <cfinput type="Text"
    name="City"
    value="#GetCO.City#"
    message="Please enter a city."
    required="Yes"
    size="22"
    maxlength="20">
    </td>
    </tr>
    <tr>
    <td>st</td>
    <td>
    <cfinput type="Text"
    name="st"
    value="#GetCO.st#"
    message="Please enter a st."
    required="Yes"
    size="3"
    maxlength="2">
    </td>
    </tr>
    <tr>
    <td>ZIP Code</td>
    <td>
    <cfinput type="Text"
    name="zip"
    value="#GetCO.zip#"
    message="Please enter a valid ZIP Code."
    validate="zip"
    required="Yes"
    size="11"
    maxlength="10">
    </td>
    </tr>
    <tr>
    <td>comm</td>
    <td>
    <textarea cols="40" rows="5"
    name="comm"><cfoutput>#GetCO.comm#</cfoutput></textarea>
    </td>
    </tr>
    <tr>
    <td> </td>
    <td>
    <input type="submit" value="Update Database">
    </td>
    </tr>
    </cfform>
    </table>
    </body>
    </html>
    <cfquery name="UpdateCO"
    datasource="#Request.MainDSN#">
    UPDATE CO
    SET
    COName = '#Trim(Form.COName)#',
    ADD = '#Trim(Form.ADD)#',
    City = '#Trim(Form.City)#',
    st = '#Trim(Form.st)#',
    zip = '#Trim(Form.zip)#',
    comm =
    <cfif Len(Trim(Form.comm)) GT 0>
    '#Trim(Form.comm)#'
    <cfelse>
    NULL
    </cfif>
    WHERE
    COID = #Val(Form.COID)#
    </cfquery>
    <cflocation url="COList.cfm">
    <cfquery name="GetCo"
    datasource="#Request.MainDSN#">
    SELECT
    coID,
    coName,
    ADD,
    City,
    st,
    zip,
    comm
    FROM
    co
    ORDER BY
    coName ASC
    </cfquery>
    <html>
    <head>
    <title>title getco</title>
    <link rel="stylesheet" href="styles.css">
    </head>
    <body>
    <h1>y List</h1>
    <table>
    <tr>
    <td><b>ID</b></td>
    <td><b>Name</b></td>
    <td><b>ADD</b></td>
    <td><b>City</b></td>
    <td><b>st</b></td>
    <td><b>ZIP Code</b></td>
    <td><b>comm</b></td>
    <td> </td>
    </tr>
    <cfoutput query="GetCompanies">
    <tr bgcolor="<cfif currentrow mod
    2>GHOSTWHITE<cfelse>WHITE</cfif>">
    <td>#coID#</td>
    <td>#coName#</td>
    <td>#ADD#</td>
    <td>#City#</td>
    <td>#st#</td>
    <td>#zip#</td>
    <td>#comm#</td>
    <td>
    <a
    href="EmployeeList.cfm?coID=#coID#">Employees</a>
    <a href="coAddForm.cfm">Add</a>
    <a href="coEditForm.cfm?coID=#coID#">Edit</a>
    <a
    href="coDeleteForm.cfm?coID=#coID#">Delete</a>
    </td>
    </tr>
    </cfoutput>
    </table>
    </body>
    </html>

    After your SQL SELECT on CO_EditForm.cfm, you need a
    <CFIF> that checks to see if any records were retrieved. See
    below.

  • Domain name and  session

    Hi ,
    We have deployed our application on tomcat server built on struts framework.
    We have also set the domain name and are redirecting the domain name to Static Ip
    where our application is deployed with URL Masking option enabled.
    Everything is working fine in Firefox.But in IE6 and IE7 we are facing issues related to sessions.
    Example:
    it works when we access directly
    http://156.78.78.89:8000/myapp/login.do?method=display
         when i redirect this with a domain name(with URL masking enabled) like
         http://www.mydomain.com It does not work.
         I am not able to login into application(using sessions of this) or use shopping cart(using cookies)
    Cookies are getting disabled and there is no session maintainance.
    Is it problem with struts config or tomcat server?
    I am unable to take my application live because of this issue.
    Please help me to solve. Thank you for your time and consideration
    email:[email protected]

    Hi BKBK,
    I'm using CF10 and aplicaction.cfc
    <!--- Define the application settings. --->
    <cfset THIS.name= "GuarderiasGMX2"/>
    <cfset THIS.applicationTimeout = createTimeSpan( 0, 1, 0, 0 ) />
    <cfset THIS.sessionManagement = true />
    <cfset THIS.sessionTimeout = createTimeSpan( 0, 1, 0, 0 ) />
    I don't use cookies to set the session. I only use cfcookie for kill the session on the application.cfc when the user sign out.
    <cffunction
    name="onRequestStart"
    access="public"
    returntype="boolean"
    output="false"
    hint="I initialize the page request.">
    <!--- Define the local scope.--->
    <cfset var local = {} />
    <!--- --------------------------------------------- --->
    <!--- --------------------------------------------- --->
    <!---
    Check to see if we killed the session timeout in the
    psuedo constructor. If we did, we can / should now
    kill the cookies for the current session and then
    redirect such that the user can get their new session.
    --->
    <cfif structKeyExists( url, "killSession" )>
    <!---
    Clear all of the session cookies. This will
    expire them on the user's computer when the
    CFLocation executes.
    --->
    <cfloop
    index="local.cookieName"
    list="cfid,cftoken,cfmagic">
    <!--- Expire this session cookie. --->
    <cfcookie
    name="#local.cookieName#"
    value=""
    expires="now"
    />
    </cfloop>
    <!---
    Redirect back to the primary page (so that we dont
    have the killSession URL parameter visible).
    --->
    <cflocation
    url="index.cfm"
    addtoken="false"
    />
    </cfif>
    Regards

  • Missing Dynamic Pages and SEO

    Hello I have a details page that takes the URL parameter
    Product-Code and displays the details for that product. Now what
    happens when I remove a prduct from the database and that URL still
    exists in the Search Engine indexes. I noticed that even though the
    product code doesn;t exist anymore the page still executes and
    shows all blank information. So basically I'm going to have all
    those old product pages in search engines with no info and run teh
    risk of duplicate content penalty. What shoudl I do. The site is
    programmed in CF. You can see what I mean by visting the site
    www.juniorbaby.com and click on a product and change the product
    code in the URL. The page will load with no info. I feel my ranking
    has been dropping and this might be the problem. The serach engine
    must think all those old pages are all the same. Any help would be
    greatly appreciated.
    Pete

    1) SE != spider : some spiders follow rules you set in meat
    tags,
    robots.txt, rel ttributes etc, others do not.
    2) <cflocation> tag basically means http code 301 "temp
    moved" (or is it
    302?): in cf8 you can set cflocation to return 301 or 302
    code
    (temp/permanently moved, whichever one is which).
    3) use cflocation inside cftry/cfcatch (around retrieve
    product details
    query) block to redirect your users to a full products
    listing page
    4) google webmaster tools lets you request removal of a url
    from
    google's search index - do that. if you are not using google
    webmaster
    tools - shame on you!
    Azadi Saryev
    Sabai-dee.com
    http://www.sabai-dee.com

  • How Do I send variables to new window since cflocation won't work?

    I have a form that sends data to itself using <FORM action="#getfilefrompath(cgi.script_name)#" method="post">
    It is then either saved or updated, then the flyer_id sent to pdf_view.cfm to view it in a PDF format. I am using cflocation to go to another page with the flyer_id:
    <cflocation url="flyer_pdf.cfm?flyer_id=#flyer_id#">
    Where the flyer_id is used to query the appropriate info on the pdf_view.cfm. What I really would like to happen is the varable flyer_id to automatically open the pdf_view.cfm page in a new window, after saving/updating the flyer.
    How can this be done?

    Hi rickaclark54,
    You can open a new window using javascript.Please take a look at the following example.
    Page Name:Openwindow.cfm
    <!--- Do what operation you want to perform here --->
    <!--- The following code will a new window --->
    <cfset flyer_idvar=45>
    <script type="text/javascript">
        window.open('openwindowcont.cfm?flyer_id=<cfoutput>#flyer_idvar#</cfoutput>','_blank','wi dth=400,height=200')
    </script>
    Page Name:openWindowcont.cfm
    <cfif isDefined("URL.flyer_id")>
        <cfoutput>#URL.flyer_id#</cfoutput>
    <cfelse>
        <cfoutput>in not available!!!!!!!</cfoutput>
    </cfif>
    by this way you can open a new window and pass data through url.
    Thanks
    Saurav

  • How do I save and manipulate an attached document through gmail?

    How do I save and manipulate an attached document through gmail on my iPhone?

    I had a client that had hundreds of session variables
    scattered in hundreds of CF pages. There was very little CFLOCKing,
    and consequently the apps were quite unstable in a loaded
    environment.
    What I finally did was to copy the session scope variables to
    ses.request scope variables of the same name, then did a global
    replace of session. with ses.request. In OnRequestEnd.cfm, and
    immediately before all CFLOCATIONs, I copied ths ses.request scope
    back to session scope (locked, of course). There was no measurable
    performance hit, and the apps were rock solid.
    Perhaps you could copy your client variables to session
    scope; then back again in OnRequestEnd.cfm

  • How do I save and restore Session?

    Is it possible to have a user leave the site for a period of
    time, say 2 or 3 days, and when they come back, restore their last
    session and all the session variables? I have an idea of building a
    database and writing them all to the db on each page load with the
    last visited page, and then resetting from that on their next
    visit, but is there an easier way through Cold Fusion that I'm not
    aware of? Any assistance is apprecaited.

    I had a client that had hundreds of session variables
    scattered in hundreds of CF pages. There was very little CFLOCKing,
    and consequently the apps were quite unstable in a loaded
    environment.
    What I finally did was to copy the session scope variables to
    ses.request scope variables of the same name, then did a global
    replace of session. with ses.request. In OnRequestEnd.cfm, and
    immediately before all CFLOCATIONs, I copied ths ses.request scope
    back to session scope (locked, of course). There was no measurable
    performance hit, and the apps were rock solid.
    Perhaps you could copy your client variables to session
    scope; then back again in OnRequestEnd.cfm

  • CFID and CFToken Problems

    Hello,
    Some times there seems to be a problem when the server has
    generated cfid and cftokens after the cold fusion authentication .
    When I use cflocation to go to another page then It seems that
    server is not recognizing the tokens assinged to client for the
    current session. So it can not go to the next page because server
    perhaps does not recognize those tokens.
    Please let me know if you have some insights.
    Best regards
    Pradeep

    Are you using <cflocation> with parameter
    addtoken="true"?

Maybe you are looking for