Unable to recreate JSESSIONID cookie in Internet Explorer

Hello All,
(Running  CF Version: 9,0,0,251028,   Windows 2008 Server,  IIS-7)
I am using the code below to expire the JSESSIONID cookie that is generated by CF because CF does not set the "HTTPOnly" and "Secure" cookie attributes by default when the JSESSIONID is initially created .  I am then recreating the JSESSIONID cookie with the required attributes.
This works great for all browsers EXCEPT Internet Explorer!
When the code below runs in Internet Explorer, the JSESSIONID cookie does become expired as it should as seen in the 1st line of the function below.  However, The script after that fails to recreate the JSESSIONID in Internet Explorer.  this is driving me nuts because it works like a charm in ALL other browsers.
I am aware of the solution which involves setting these attributes in an xml configuration file on the CF server.  However that solution is not an option for me.  I am forced to use the method below to setup my secure/httponly JSESSIONID cookie.  Any ideas would be greatly appreciated!!!
<cffunction name="OnSessionStart" output="false" access="public" description="I fix the sessionid">  
         <cfcookie name="JSESSIONID" expires="now"/>              
       <cfscript> 
          var.HTTPOnly = "HTTPOnly";
          var.domain = cgi.server_name;       
          var.path = "/";
          var.secure = "Secure;";                         
          var.response = getPageContext().getResponse();              
          var.header = "JSESSIONID" & "=" & session.sessionid & ";domain=." & var.domain & ";path=" & var.path & ";" & var.secure & var.HTTPOnly;
          var.response.setHeader("SET-COOKIE", var.header);             
        </cfscript>       
        <cfreturn />
  </cffunction>

Below is the responseHeader dump (from IE9).
Looks the exact same in FireFox and Chrome.  However,  a cfdump of the cookie scope will reveal (JSESSIONID=), nothing, zip, zilch, nada in IE9. Since the JSESSIONID cookie value is empty or null, a login attempt will result in a flash of the screen and the user is never logged in.
While a cfdump of Firefox and Chrome happily display a valid JSESSIONID cookie value and allow users to login to my application just fine.
(Note:  The secure attribute is intentionally turned off due to my non-ssl dev pc.)
Cache-Control
no-cache, no-store, must-revalidate
Connection
close
Content-Type
text/html; charset=UTF-8
Date
Sat, 10 Sep 2011 19:35:08 GMT
Explanation
OK
Http_Version
HTTP/1.0
SET-COOKIE
struct
1
JSESSIONID=843032102a51ca7bfa0f60831221c8642e45;domain=.localhost;path=/;HTTPOnly
2
JSESSIONID=843032102a51ca7bfa0f60831221c8642e45;path=/
3
JSESSIONID=;expires=Fri, 10-Sep-2010 19:35:08 GMT;path=/
Server
JRun Web Server
Status_Code
200
X-Frame-Options
deny
X-XSS-Protection
1; mode=block
expires
{ts '2011-09-10 15:35:08'}
pragma
no-cache
Thanks for the help!
Neil

Similar Messages

  • I am unable to import my favorites from internet explorer dueto the import data from option being grayed out under history, library, import tab, any help please

    i am unable to import my favorites from internet explor due to the import data from... option being grayed out under his, library, import. any help please

    Make sure that you do not run Firefox in permanent Private Browsing mode.
    *https://support.mozilla.com/kb/Private+Browsing
    To see all History and Cookie settings, choose:
    *Tools > Options > Privacy, choose the setting <b>Firefox will: Use custom settings for history</b>
    *Deselect: [ ] "Always use private browsing mode"

  • Unable to open login page through internet explorer

    Hi,
    Configured Reverse proxy external tier. We are able to access login page through Mozilla but unable to access through IE8.
    Raised SR, but they have reverted saying it's browser problem & not in their scope.
    Please help for the following error message when redirecting to login page.
    You are trying to access a page that is no longer active.
    - The referring page may have come from a previous session. Please select Home to proceed.
    Thanks in advance

    Please post the details of the application release, database version and OS.
    Configured Reverse proxy external tier. We are able to access login page through Mozilla but unable to access through IE8.
    Raised SR, but they have reverted saying it's browser problem & not in their scope.Do you meet the requirements in these docs?
    Recommended Browsers for Oracle E-Business Suite Release 12 [ID 389422.1]
    Recommended Browsers for Oracle E-Business Suite 11i [ID 285218.1]
    Please help for the following error message when redirecting to login page.Can you find any errors in the application/apache/database log files?
    You are trying to access a page that is no longer active.
    - The referring page may have come from a previous session. Please select Home to proceed. Please see if these docs help.
    Session Error Raised Direct After Login when Using Two-Letter Domain Segments [ID 420573.1]
    Login Issue via Internet Explorer after EBS Upgrade from 11.5.10.2 to 12.0.4 [ID 828534.1]
    R12 Login Fails When A Cookie Using Comma Separated Values Is Set First [ID 946807.1]
    R12: Error "You are trying to access a page that is no longer active" When Attempting to Access Through Internet Explorer [ID 968839.1]
    Thanks,
    Hussein

  • Unable to open pdf files using Internet Explorer and Adobe 9.1

    We are unable to open any/all pdf files in Internet Explorer 6 or 7 using Adobe Reader 9.1 on Windows XP SP2.
    The error message is that IE has a problem and sorry for the inconvenience.
    Clicking "OK" closes IE.
    We did not have any issue with Adobe Reader 8.1.
    What we did to date:
    1. Uninstall Adobe Reader 9.1
    2. Run Windows Clean Utility to remove any remnant of Adobe Reader 8
    3. Re-install Adobe Reader 9.1
    Any other suggestions?
    Need to have this upgrade.

    I'm having a similar issue. Prior to upgrading to Acrobat 9.1 I was able to view PDFs from IE 6. No longer. Instead I get a message: "Error opening document. File cannot be found."
    Help?

  • Adobe Reader 11 is unable to open PDF's from Internet Explorer 11

    My boss is currently operating on the Adobe Reader 11 and often needs to use Internet Explorer 11 for certain programs.
    Unfortunately the Adobe Reader is unable to open PDFs from Internet Explorer and often comes up with a message telling us that the file is either damaged, no longer exists or that there is a problem with the syntax.  She does not have this problem with Google Chrome.  We have tried several ideas regarding the security settings but nothing seems to correct the problem.  Could someone shed some light on how to fix this error?

  • Unable to open PDF files in Internet Explorer

    Hello,
    One of our users has a problem with opening PDF files in Internet Explorer.
    Translation:
    Adobe PDF-document
    There is a problem with Adobe Acrobat/Reader. Close Adobe Acrobat/Read and try again.
    The user is using Adobe Acrobat 8 Standard in combination with Windows XP and Internet Explorer 6. I reinstalled Adobe Acrobat (under an administrator account), deleted the local user profile and the problem is still there.
    Does anyone have an idea about this? The error message doesn't really say what is wrong. Adobe Reader is not installed.

    What exactly means "unable"?  Do you see a little x in a box on the top left of IE11?  If so, this may be the solution: http://support.microsoft.com/kb/2716529

  • Unable to open ".mht file" in Internet Explorer 10 and Microsoft Word running on Win7

    .mht file error in internet explorer 10
    "MIME-Version : 1.0 Content-Type:multipart/relates; boundar="---=N_NextPart_01CEFB@&>FA^*@A&)" This document is
    a Single file Web Page, also known as a Web Archive File. If you are seeing this message, your browser or editor doesn't
    support Web Archive files. Please download a browser that support Web Archive, such as Windows Internet Explorer Encoding:quoted-printable Content-Type: text/html;="windows-1252"
    .mht file error in Microsoft Word
    "You need to have Microsoft Outlook Express or Windows Mail installed to work Single File Web Pages. Outlook Express or Windows Mail is an optional component of Microsoft Internet explorer 4 or later."

    This area is for forum issues only.  You'll have better luck posting your question here:
    http://social.technet.microsoft.com/Forums/windows/en-US/home?forum=w7itprogeneral
    Please do not read this sentence. Please ignore the previous sentence.

  • SharePoint 2013 - Unable to open Office documents in Internet Explorer - cannot access file

    In SharePoint 2013 some of our users receive an error message when trying to open an Office application from Internet Explorer 11.  Other users on the same browser don't have this issue. 
    Any ideas on how to resolve?

    HI Greg,IE11 is having some issues with the SharePoint 2013.
    http://expertsharepoint.blogspot.de/2014/08/issues-with-sharepoint-2013-and.html
    Since
    SharePoint 2013 fully support IE 32-bit version above 7, there might be compatibility issue with other browsers. I’d recommend you use IE 8,9,10 32-bit for optimal
    Performance.
    3.   
    Make sure the IE (Internet Explorer) Version should be 32-bit and not
    a 64-bit
    - See more at: http://expertsharepoint.blogspot.de/search/label/Known%20Issues?updated-max=2014-08-19T17:33:00%2B08:00&max-results=20&start=4&by-date=false#sthash.a2N14nDL.dpuf
    Anil Avula[MCP,MCSE,MCSA,MCTS,MCITP,MCSM] See Me At: http://expertsharepoint.blogspot.de/

  • Unable to start workflow manually from Internet Explorer

    I am not able to start a workflow manually from Internet Explorer 9.
    I created a workflow that can be started manually, but when i try to launch it from the following button :
    A blank page appears and nothing happens.
    I tried from Firefox and it works perfectly. When I click on that button the following page appears :
    When I open the same page in IE 9, the console shows the following errors :
    SEC7113: CSS was ignored due to mime type mismatch
    FormResource.aspx?solutionId=AE2MT6ZDYU6VIS4DCBEFY3XETVC6KAJPMZZC6Y3PNVWXK3TJMNQXI2LPNYXVO33SNNTGY33XOMXUG33NNV2W42LROXB2SIDEMUQHA4TFONZWKIDQMFZCA3LBNFWCAKCBIVLSARLVOJXXAZJAKBQXE2LTFQQE4QKNJEQOFAETEBAUKVZAIV2XE33QMUWCAQKFK4QEK5LSN5YGKICTI5ICYICMOV4GK3LCN52XEZZJF5BW63LNOVXGS4LVYOUSAZDFEBYHEZLTONSSA4DBOIQG2YLJNQQCQQKFK4QEK5LSN5YGKICQMFZGS4ZMEBHECTKJEDRIBEZAIFCVOICFOVZG64DFFQQECRKXEBCXK4TPOBSSAU2HKAWCATDVPBSW2YTPOVZGOKJOPBZW4KSYMRIG43DPPBAVU6RRGU2GY4TDMZRHMWDTG5JHEVDQKRHXO6TZJBKU6MCRKRHWESDXHA&view=0&browser=IE&viewFile=View%2Ecss&version=1
    SCRIPT5009: « _spBodyOnLoadFunctionNames » is undifined
    IniWrkflIP.aspx?List={f686e80a-33a8-4ef4-b380-ce94c4a5e926}&ID=1&ItemGuid={00E74AE8-E50C-4762-8820-4E67560195A7}&TemplateID={bc10a7d7-03f3-4f7c-bc84-4665a1f99a68}&Source=*****************.aspx,
    Ligne 187 Caractère 1
    SCRIPT5009: « Sys » is undifined
    IniWrkflIP.aspx?List={f686e80a-33a8-4ef4-b380-ce94c4a5e926}&ID=1&ItemGuid={00E74AE8-E50C-4762-8820-4E67560195A7}&TemplateID={bc10a7d7-03f3-4f7c-bc84-4665a1f99a68}&Source=***********.aspx,
    Ligne 323 Caractère 1
    SCRIPT5009: « _spBodyOnLoadFunctionNames » is undifined
    IniWrkflIP.aspx?List={f686e80a-33a8-4ef4-b380-ce94c4a5e926}&ID=1&ItemGuid={00E74AE8-E50C-4762-8820-4E67560195A7}&TemplateID={bc10a7d7-03f3-4f7c-bc84-4665a1f99a68}&Source=http******%2FForms%2FAllItems%2Easpx,
    Ligne 641 Caractère 12
    SCRIPT5009: « ExecuteOrDelayUntilScriptLoaded » is undifined
    IniWrkflIP.aspx?List={f686e80a-33a8-4ef4-b380-ce94c4a5e926}&ID=1&ItemGuid={00E74AE8-E50C-4762-8820-4E67560195A7}&TemplateID={bc10a7d7-03f3-4f7c-bc84-4665a1f99a68}&Source=http************%2FForms%2FAllItems%2Easpx,
    Ligne 868 Caractère 4163
    SEC7115: ":visited and :link styles can only differ by color. Some styles were not applied to :visited."
    IniWrkflIP.aspx?List={f686e80a-33a8-4ef4-b380-ce94c4a5e926}&ID=1&ItemGuid={00E74AE8-E50C-4762-8820-4E67560195A7}&TemplateID={bc10a7d7-03f3-4f7c-bc84-4665a1f99a68}&Source=http***************.aspx
    SCRIPT5009: « ProcessImn » is undifined
    script block (1), Ligne 3 Caractère 1
    SCRIPT5009: « getTmp » is undifined
    script block (2), Ligne 3 Caractère 1
    How can I fix that ?

    Hi Mehdi,
    It seems that the JavaScript is blocked in IE.
    I recommend to enable Scripting in IE to see if the issue still occurs.
    http://www.enable-javascript.com/
    And please also add the .css to the mime types in Internet Information Services (IIS).
    http://forums.asp.net/t/1982300.aspx?CSS+was+ignored+due+to+mime+type+mismatch+How+to+configure+IIS6+
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Hello....unable to install flash player on internet explorer 10

    please provide assistance to installing flash player on internet explorer 10... message states please close the following program... internet explorer (installation stop at 50%.

    See How to close Internet Explorer and other programs running on Windows?

  • Unable to download flash Player via internet explorer

    Hi,
    I am trying to download adobe flash player via internet explorer.  Everytime I try to download,the web page does not respond anymore.
    I closed my anti-virus, my internet explorer runs on 128-bit. 
    I really need to download this via explorer because my HP printer (vivera with scanner) is not going to work if the coreect version is not downloaded via explorer.
    Would appreciate your help.
    Thank yuo.

    Hello,
    Welcome to Adobe Forums,
    Download these Flash Player installers :
    http://fpdownload.macromedia.com/get/flashplayer/current/licensing/win/install_flash_playe r_10_active_x.exe
    http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player.exe
    Save both of them on your Hard Disk and install them. (In Any Sequence)
    Note : Make sure no programs are running while installing them (Like IE or Messenger)
    Hope it helps !!
    Thanks
    Vikram

  • Unable to delete JSESSIONID cookie from ADF application

    Hi all
    I have a ADF application where i am using Logout button with action in managed bean. I want to delete the JSESSIONID cookie after logout.
    The logout bean is invalding the session and deleting the cookies. See code below.
    However code is not deleting the JSESSIONID cookie. I can see the cookie still exist in browser. Tester can use "back" button of browser and can see the user is still logged in application.
    How can delete JESSIONID cookie permanetly after logout action ? Am i missing some thing in code ? I am uing JDeveloper 11.1.1.5.0
    Mukesh
    =======
    public String AfterLogOut_action() {
    FacesContext fctx = FacesContext.getCurrentInstance();
    ExternalContext ectx = fctx.getExternalContext();
    String url = ectx.getRequestContextPath() + "/adfAuthentication?logout=true&end_url=/login.html";
    HttpServletRequest request = (HttpServletRequest)ectx.getRequest();
    HttpServletResponse response = (HttpServletResponse)ectx.getResponse();
    HttpSession session = (HttpSession)ectx.getSession(false);
    // Step 1 : delete the cookies
    if (request.getCookies() != null) {    
    for (Cookie cookie : request.getCookies()) {
    cookie.setMaxAge(0);
    cookie.setPath("/");
    response.addCookie(cookie);
    // Step 2 : Invalidate the session
    try {
    session.invalidate();
    ectx.redirect(url);
    } catch (IOException e) {
    e.printStackTrace();
    fctx.responseComplete();
    return null;
    ==========
    Edited by: Mukesh S Patil on May 11, 2013 5:44 PM

    Hi Guys.
    Any help ?
    Mukesh

  • Unable to print pages directly from internet explorer 9 script error 2126

    HP photosmart wireless b109n-z
    computer Packard Bell One Two L5861 64bit
    I am unable after going to many forums where it seems to be quite a problem and trying different ways to try and rectify a error mesage
    An error has occurred in the script on this page
    Char 1
    Error Unspecified erroCode 0
    URL: res://ieframe.dll/preview.js
    do you wish to continue running scripts on this page?
    yes  no
    I also have avio laptop which i have no problem with printing on the same printer
    I have checked internet option advance settings and both have the same boxes ticked
    i have ticked and unticked boxes reset internet unstalled and reinstalled printer
    I can save most pages to documents and then print from there this depends on whats in the page
    The only thing that seem to make any difference was to untick the internet option security enable protection mode which would ineffect leave my computer vulnerable to attacks which is not advisible
    would be very pleased to hear if this can be resolved
    many thanks

    tejo11,
    Script errors like this can happen with IE and while uncommon are not unheard of. With the print and scan doctor coming back fine we can move to troubleshooting the browser where the error originates. If you would like try using a different browser as a temporary workaround and use this microsoft guide for troubleshooting the script error you are getting: http://goo.gl/k7aTU
    Best of Luck!
    You can say thanks by clicking the Kudos Star in my post. If my post resolves your problem, please mark it as Accepted Solution so others can benefit too.

  • Login cookie and internet explorer

    Hello,
    Is there a way to be able to login into an application without changing the privacy options in IE to LOW?
    Without setting the IE privacy to LOW the users don't pass the login screen.
    Thanks.
    NJ

    NJ,
    So maybe rewriting the login cookie procedure to allow logins with the slider set to Medium High.This sentence fragment indicates that you do not understand what I've tried to say several times. I accept this as my failure and hope you will kindly consider yet another rendition:
    I don't care how you configure whatever browsers you want to use with the HTML DB internal applications or the applications you develop with HTML DB. If you want to mess around with different settings of IE, then it's up to you to understand the implications. I am telling you (again) that your browser must accept and send session cookies from/to the HTML DB host in order for the built-in authentication mechanisms to work. If you find that a particular setting does not allow you to meet those requirements, then you should not use that setting.
    By twisting the login cookie procedure I was trying to give you a new reference for workaround, but you don't understand this also.That is correct. And I refer you to my earlier statement about how devising a "workaround" is the wrong way to think about a situation that calls for nothing more than meeting a clearly stated requirement.
    Scott

  • Unable to start Admin Console in Internet Explorer

    Hi All,
    I Installed EPM 11.1.2 and all the configurations were succeeded with out any issues.
    When i open Adminbistration console i am able to open but when i open with IE using the url : http://svalmiki-pc:10080/easconsole/console.html i am getting a popup window message of Java.
    Popup window: Java Web Start - Unexpected Error
    Unable to launch Oracle Essbase Administration Services.
    Details:
    An error occurred while launching/running the application.
    Title: Oracle Essbase Administration Services
    Vendor: Oracle Corporation
    Category: Unexpected Error
    Unexpected exception: java.lang.Exception
    Thanks!
    Siva.

    Hi,
    I Uninstalled JDK vesrions in my machine and Re installed only the latest version and i am able to open it now. I am able to open the admin console now.
    Thanks!
    Siva.

Maybe you are looking for

  • Best way to make animation w/stills for intro?

    Kind of like the template intro movies in the themes, I want to cut up my own photo and have pieces move around and off screen. For example, I want a photo to split in half right up the middle and have each half go off screen in opposite directions.

  • Update Mac OS X 10.6.8

    I can't update from Mac OS X 10.6.8 to 10.7. Computer says there is not updates available and I can not download from App Store (is not available at his moment)

  • Cost centre issue

    Hi Experts, Earlier in our company,there are three cost centre under three work centres.Now as per user's requirement we have created six work centres and cost centre is same ( three cost centre as defined earlier). Pl advice on by keeping same Cost

  • How I can download Safari 6.0 for Lion

    Dear friends. Unfortunatly  I'm delete Safari from my Application Folder, I'm know I'm stuppid But now via Software Update I don't see download Safari 6.0 and I can't install Safari 5.1.7 for upgrade to Safari 6.0. Well, where I can download Install

  • I cannot get Video to work....help.

    Since I first installed arch I have not been able to get video to work at all. Dragon player just sits there and looks like its tryin to work, so I downloaded VLC and it pops up with an error telling me it was unable to play the video and to check th