Display keeps switching between primary and clone.. I think.

My laptop, Pavilion DM3, keeps switching displays by the screen blacking out yet the computer still running.  If a video is playing for example I can still hear the audio but the screen goes black.  Some little musical tone plays when it switches and sometimes I get a little notification box that pops up saying the optimal resolution for clone display is... or it will say the optimal resolution for the primary is...
It's incredibly frustrating.  Sometimes it only happens once every few minutes and sometimes it happens once every few seconds.  I usually press ctrl+alt+f3 which works but it's annoying to have to keep doing it.  I took it to Best Buy and they reinstalled the drivers and said that should work and if it doesnt then the next step is to ship it off to HP and that could take weeks.  The problem is I'm currently in grad school and this is my only computer.  I can't go weeks without my laptop even if it means having my screen black out every few seconds.  Hopefully it really is just a setting or something or a software thing that I can fix myself with the help of you fine people.
My laptop is an HP Pavilion dm3 with Windows 7 64bit.  Intel Pentium processer U5400.  Optimal resoolution is 1366x768.  Graphics is Intel HD Graphics(integrated I believe?)  4 GB memory, 500GB hard drive.  I've had the laptop may six weeks and it's been having the issues for about two weeks.

Hi juniorkk,
I can understand your frustration with the screen issue and I will be happy to help. What version of operating system are you using? What is the product number for your computer? Are you using this with two monitors as well?
Find your product on a notebook:
http://h10025.www1.hp.com/ewfrf/wc/document?cc=us&lc=en&dlc=en&docname=c00033108
Finding your OS:
http://windows.microsoft.com/en-CA/windows/which-operating-system
Thank you,
Please click “Accept as Solution ” if you feel my post solved your issue.
Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
Thank you,
BHK6
I work on behalf of HP

Similar Messages

  • Iphone 5 keeps switching between apple and home screen?

    why does my iphone5 keep switching between apple loading screen and home screen?  I can't use it.

    Try this First...
    Press and Hold the Sleep/Wake Button and the Home Button at the Same Time...
    Wait for the Apple logo to Appear...
    Usually takes about 15 - 20 Seconds... ( But can take Longer...)
    Release the Buttons...
    http://support.apple.com/kb/ht1430
    If no joy...
    Connect to iTunes on the computer you usually Sync with and Restore
    http://support.apple.com/kb/HT1414
    Make sure you have the Latest Version of iTunes (v11) Installed on your computer
    iTunes free download from www.itunes.com/download

  • ADSL keeps switching between 'fast' and 'interleav...

    Hello
    I wonder if you could tell me if there is some reason why my line profile / ADSL latency keeps being switched between 'fast' and 'interleaved'. Everytime it is switched from interleaved to 'fast' I lose download speed. It has just changed again today and as a result my download speed has (according to my BT Home Hub Manager) dropped from 6.3MB (yesterday) to 3.2MB (now). Is it possible to have the line profile left as 'interleaved' so that I can enjoy the extra download speed ?
    Thanks for your help.
    Fortinbras
    Solved!
    Go to Solution.

    Hi
    I am sorry to see you are having problems with your BT Service
    I suggest you contact the forum mods they should be able to get interleaving turned on  for you this is a link to them http://bt.custhelp.com/app/contact_email/c/4951
    They normally reply by email or phone directly to you within 3 working days they will take personal ownership of your problem until resolved and will keep you informed of progress
    They are a UK based BT specialist team who have a good record at getting problems solved
    This is a customer to customer self help forum the only BT presence here are the forum moderators
    If you want to say thanks for a helpful answer,please click on the Ratings star on the left-hand side If the reply answers your question then please mark as ’Mark as Accepted Solution’

  • How to switch between primary and secondary input ...

    Hey guys ,
    I have Nokia 6700 Slide
    I have to write SMS's in two languages so I need to switch between secondary and primary input language put the way I know is boring and inefficient so that if anybody know a shortcut that help to switch between the primary and the secondary input language that will be awesome  .
    thanks

      when writing text ,To change the
    writing language, select Options >
    Input options > Writing language
    or refer to page 28
    http://www.google.ie/url?sa=t&source=web&cd=2&ved=0CB8QFjAB&url=http%3A%2F%2Fnds1.nokia.com%2Ffiles%...
    If  i have helped at all a click on the white star below would be nice thanks.
    Now using the Lumia 1520

  • How to switch between primary and secondary langua...

    Hi guys,
    I've got an e52 but the only way to type in sec. Language while writing a message is:
    Option-> Input Options-> writing language-> primary writing language (which must be changed to new one)
    so there is no use of second. lang. or at least I don't know how to switch quickly between primary and second language without going that path.
    ANY HELP WOULD BE APPRECIATE.
    Aram

    HI Everyone,
    not sure if this helps. My solution is more fo Singpore users.
    As i text between English and Chinese, I was unable to set my Secondary language to Chinese as there is no option to do so in the Writing language menu.
    By discovery, i first set my Primay language as Chinese. Then further down the Language menu there is this option Default input. Click on that and select the default using Text case and select Ok.
    When writing sms, you can switch between this 2 languages using the # key.
    Hope it helps.
    Have a pleasant day.
    Aram_ocp wrote:
    Hi guys,
    I've got an e52 but the only way to type in sec. Language while writing a message is:
    Option-> Input Options-> writing language-> primary writing language (which must be changed to new one)
    so there is no use of second. lang. or at least I don't know how to switch quickly between primary and second language without going that path.
    ANY HELP WOULD BE APPRECIATE.
    Aram

  • MBP keeps switching between charged and charging

    After updating to 10.5.6 my MBP has started switching between charged and charging once the charge reaches about 96%. I've tried resetting the SMC but hasn't helped. I'm trying to calibrate the battery now but it is a very slow process since charging the last 4% seems to take forever.
    Is anyone else experiencing anything like this?

    Does trickle charging really switch between charged and charging at one second intervals?
    The 10.5.6 changes to the battery menu must have been more than removing from menu options then because I had to turn off the text the continuous switching between charged and charging became too visually distracting.

  • Switching between Primary and Standby database

    Hi,
    I managed to setup a standby database that is updated by the primary db either when doing a log file switch or when changing the role of the primary db to standby.
    Now I want to put the standby database (that was in primary role for a short period) back into its standby role. I entered
    "Alter database commit to switchover to physical standby with session shutdown;"
    The archived redo logs as well as the control file are updated on the primary database (which was in standby role for the same short period). When I enter
    "Alter database commit to switchover to primary" I am receiving the following error message:
    SQL> alter database commit to switchover to primary;
    alter database commit to switchover to primary
    ERROR at line 1:
    ORA-16139: media recovery required
    After issuing the recovery statement I get this message:
    SQL> recover database
    ORA-00283: recovery session canceled due to errors
    ORA-01610: recovery using the BACKUP CONTROLFILE option must be done
    At the same time this log entry is written into the alert log:
    Database not available for switchover
    End-Of-REDO archived log file has been received
    Archived log files detected beyond End-Of-REDO
    Incomplete recovery SCN:0:962365 archive SCN:0:977340
    Switchover: Media recovery required - standby not in limbo
    ORA-16139 signalled during: alter database commit to switchover to primary...
    But when I try to use the BACKUP CONTROLFILE statement during recovery I get this error message:
    SQL> recover database using backup controlfile;
    ORA-00283: recovery session canceled due to errors
    ORA-01666: control file is for a standby database
    Although being quite a newbie it's obvious that the primary database (which was standby for a short period) is worried that there are older archived redo logs than online logs. I guess this happens because of the log_archive_dest definition on the standby database :
    *.LOG_ARCHIVE_DEST_3='SERVICE=ORAMPPRD REOPEN=60 MAX_FAILURE=3 LGWR SYNC
    VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=ORAMPPRD'
    Changes are applied immediately and only written to the archive.
    But how can it be managed that the online redo logs on the primary system are also updated when switching back from standby ???
    Thanks,
    Philipp.

    Thanks, it's working now.
    I think it's important to explizitely follow the steps to switchover standby and primary for it to work. I maybe shutdown the standby to early.
    Cheers,
    Philipp.

  • Sapmmc -  jstart.exe keeps restarting, switching between green and yellow

    Hi Friends,
    I installed the SAP core server ( as part of SAP convergent charging) , but jstart.exe and dispatcher-1 process in sapmmc are noticed keep switching between yellow and green. when the jstart.exe turns green (all process running) , dispatcher-1 turns yellow (waiting to start) and when dispatcher-1 turns green (restart-yes) , jstart.exe turns yellow (some processes running). Only for a small duration , they both remain green (may be during transition).
    Trace File is as below: Iam not sure as what is missing here to be installed, as it is complaining about JEE directory in
    C:\usr\sap\C06\CCD09\j2ee\cluster\bin, which is not present., which was never installed as part of the installation.
    trc file: "dev_jstart.new", trc level: 1, release: "711"
    sysno      09
    sid        C06
    systemid   562 (PC with Windows NT)
    relno      7110
    patchlevel 0
    patchno    92
    intno      20020600
    make       multithreaded, Unicode, 64 bit, optimized
    profile    C:\usr\sap\C06\SYS\profile\C06_CCD09_W2K8-Sap-01
    pid        3596
    ACTIVE TRACE LEVEL           1
    ACTIVE TRACE COMPONENTS      All, egi
    Wed Oct 26 04:53:47 2011
    trace logging activated, max size = 52428800 bytes, 2 versions
    arguments :
      arg[ 0] : C:\usr\sap\C06\CCD09\exe\jstart.EXE
      arg[ 1] : pf=C:\usr\sap\C06\SYS\profile\C06_CCD09_W2K8-Sap-01
    trc file: "C:\usr\sap\C06\CCD09\work\dev_jstart", trc level: 1, release: "711"
    ACTIVE TRACE LEVEL           1
    ACTIVE TRACE COMPONENTS      All, egi

    F [Thr 3600] Wed Oct 26 04:53:47 2011
    F  [Thr 3600] *** ERROR => SfCheckJeeVersion: Cannot find JEE binary directory C:\usr\sap\C06\CCD09\j2ee\cluster\bin. [sfxxmain.cpp 848]
    trc file: "C:\usr\sap\C06\CCD09\work\dev_jstart", trc level: 1, release: "711"
    ACTIVE TRACE LEVEL           1
    ACTIVE TRACE COMPONENTS      All, egi
    F  [Thr 3600] *** ERROR => SfCheckJeeVersion: Cannot find JEE application directory C:\usr\sap\C06\CCD09\j2ee\cluster\apps. [sfxxmain.cpp 857]
    F  ********************************************************************************
    F  Java environment properties (C:\usr\sap\C06\CCD09\work\jstart.jvm)
    F    root directory    : C:\usr\sap\C06\CCD09\exe\sapjvm_6
    F    vendor            : SAP AG
    F    version           : 1.6.0_24
    F    cpu               : amd64
    F    java vm type      : server
    F    java vm version   : 6.1.027 1.6-b07
    F    jvm library name  : jvm.dll
    F    library path      : C:\usr\sap\C06\CCD09\exe\sapjvm_6\jre\bin\server;C:\usr\sap\C06\CCD09\exe\sapjvm_6\jre\bin
    F    executable path   : C:\usr\sap\C06\CCD09\exe\sapjvm_6\bin
    F  ********************************************************************************
    F    SAP extensions    : available
    F  ********************************************************************************
    I  [Thr 3600] MtxInit: 30002 0 2
    dispatcher trace
    trc file: "C:\usr\sap\C06\CCD09\work\dev_dispatcher-1", trc level: 1, release: "711"
    sysno      09
    sid        C06
    systemid   562 (PC with Windows NT)
    relno      7110
    patchlevel 0
    patchno    92
    intno      20020600
    make       multithreaded, Unicode, 64 bit, optimized
    profile    C:\usr\sap\C06\SYS\profile\C06_CCD09_W2K8-Sap-01
    pid        428
    ACTIVE TRACE LEVEL           1
    ACTIVE TRACE COMPONENTS      All, egi
    Wed Oct 26 06:22:16 2011
    trace logging activated, max size = 52428800 bytes, 2 versions
    arguments :
      arg[ 0] : C:\usr\sap\C06\CCD09\exe\jstart.EXE
      arg[ 1] : -appTrc
      arg[ 2] : -nodeId=0
      arg[ 3] : pf=C:\usr\sap\C06\SYS\profile\C06_CCD09_W2K8-Sap-01
      arg[ 4] : -hostvm
      arg[ 5] : -nodeName=dispatcher-1
      arg[ 6] : -file=C:\usr\sap\C06\CCD09\config\jstart.config
      arg[ 7] : -jvmFile=C:\usr\sap\C06\CCD09\work\jstart.jvm
      arg[ 8] : -traceFile=C:\usr\sap\C06\CCD09\work\dev_dispatcher-1
      arg[ 9] : -javaOutFile=C:\usr\sap\C06\CCD09\work\jvm_dispatcher-1.out

    F Wed Oct 26 06:22:16 2011
    F  ********************************************************************************
    F  Java environment properties
    F    root directory    : C:\usr\sap\C06\CCD09\exe\sapjvm_6
    F    vendor            : SAP AG
    F    version           : 1.6.0_24
    F    cpu               : amd64
    F    java vm type      : server
    F    java vm version   : 6.1.027 1.6-b07
    F    jvm library name  : jvm.dll
    F    library path      : C:\usr\sap\C06\CCD09\exe\sapjvm_6\jre\bin\server;C:\usr\sap\C06\CCD09\exe\sapjvm_6\jre\bin
    F    executable path   : C:\usr\sap\C06\CCD09\exe\sapjvm_6\bin
    F    SAP extensions    : available
    F  ********************************************************************************
    I  [Thr 3828] MtxInit: 10000 0 2
    M  [Thr 3828] NiInit3: NI already initialized; param 'maxHandles' ignored (init=2;par=202;cur=2048)
    M  [Thr 3828] CCMS: AlInitGlobals : alert/use_sema_lock = TRUE.
    M  [Thr 3828] CCMS: Initalized shared memory of size 60000000 for monitoring segment.
    M  [Thr 3828] CCMS: Checking Downtime Configuration of Monitoring Segment.

    M [Thr 3828] Wed Oct 26 06:22:17 2011
    M  [Thr 3828] CCMS: AlMsUpload called by wp 1004.
    M  [Thr 3828] CCMS: AlMsUpload failed for C:\usr\sap\C06\CCD09\log\ALMTTREE.DAT.
    M  [Thr 3828] CCMS: CCMS Monitoring Initialization finished, rc=0.

    Please help.
    Thanks.
    Edited by: Zain Ahmed on Oct 26, 2011 9:07 PM

    HI,
    Import the SAP profiles in SAP transaction RZ10: Utilities - Import profiles - of Active Server
    OR
    Check what messages do you have in jvm_server0.out, dev_server0.out and bootstrap traces,
    also have a look at the note 142100.
    The first problem is that in the SCS instance there are no running enqueue server as its starting line have no line break at the end in the start profile. Without this NT cannot parse the line. After adding the line break the enqueue server could start.
    The second problem is that in the global dispatcher configuration for the LockingManager the en.port was set to 3201 instead of 3200 (which is correct as the SCS instance has the intance number 00).
    After correcting these problems the J2EE engine could be started fine.
    see similar threads
    Dispatcher - Running but Dialog Queue info unavailable
    /thread/96588 [original link is broken]
    logon710
    Message server not starting
    Thanks
    Swarup

  • Can't switch between HDMI and VGA displays

    I have a new H430, with hdmi and vga ports. My HP zr2240w monitor permits switching between AVG and HDMI displays, which I would like to do. But when I plug in both cables (HDMI and VGA) only VGA will work. If I  switch to HDMI or make it the default display,  the screen freezes at the desktop background: no mouse, no taskbar etc. Is is possible that the D430 video card will not support switching between displays (on  a single monitor)
    thanks,
    saintmaur

    Dear Monika and Mylenium: I figured out part of the problem, but not the solution: The shape I had drawn -and coudn't  switch between fil and stroke on-is one I had already done a gradient mesh on, too. I had later abandoned the gradient mesh by using the option key to delete mesh lines, but that didn't take the shape all the way back to its original flat state. So it wasn't a plain drawn shape any more. So how do I release the gradient mesh  to get back to  a flat shape? I'm also having trouble keeping the shapes in RGB or CMYK mode-they keep defaulting back to greyscale. Could that also be a symptom of using gradient mesh? Note: I'm using gradient mesh for the very first time now; I've never used it before. It seems to leave a lot of unexpected baggage behind. I would send a screen shot, but if I start up Grab or Voila, all the AI pallets go away, and that's half the information.  So how do I control gradient mesh?

  • My 3GS keeps switching between iPhone speaker and Dock connector and I don't know how to keep it on iPhone speaker

    My 3GS keeps switching between iPhone speaker and Dock connector and I don't know how to keep it on iPhone speaker so I can listen to my music and games.  Is it hardware or software problem?

    I was told by a friend that sometimes when you use a 3rd party charger that the connectors are not the same size and so it can affect the sensors in the phone and make it seem like it is in a docking station and so changes the output for dock speakers.  With that said, I didn't take my pohone in to be serviced at the appple store because it was a 3GS and over 2 years old and so not covered by any service plan.  Since then my phone is back to normal and I can use my headphones and listen with the speakers on the phone.  I stoped using the suspected cheap 3rd party charger and maybe that's what did it, but not sure if it was or wasn't the cause of my problem.  I'm glad that my phone is better I was kinda holding out for the Iphone 5 when i comes out later and hope my phone lasted until then.

  • Switch between CDMA and GSM Iphone 5

    Hi,
    I am wondering on the Verizon Iphone 5, can you switch between CDMA and GSM via a setting or is it still like the iphone 4s where you have to remove the sim card to switch back to CDMA?
    Thanks.

    A SOLUTION: cut another corner and insert the nano-SIM upside-down, and keep a SIM card ejection tool on your key ring or tape one to your phone's case or both.
    Adam, and anyone else who like us, was hoping that there were a software based method that would allow iPhone 5 users the option of toggling between Verizon (or other CDMA carrier) and whatever other SIM Card based GSM carrier we have inserted/installed into our SIM tray.
    For myself, I have a SIM card with the "Minutes" type of plan, specifically the minutes plan that gives 2000 minutes for $100, which is good for one year. This is my backup network. 
    Since I do not need a SIM for the CDMA network that I use as my primary network, my SIM slot is empty (I am not running LTE, only 3G).
    So, in order to be able to switch my handset from one carrier to the other, which would be most helpful in the event of a system failure on my primary carrier I can switch over to my "backup/gsm network; it would be very, very nice to be able to toggle between the two networks, (like in the old days where we could simply select either the 'A' {non-wireline} or the 'B' {wireline} carrier/network) by simply pressing a couple-few buttons.  It is funny to me to actually realize my old "Brick" phone actually had a feature lacking on my iPhone 5.
    This would have been great during hurricane Sandy when my Verizon service was (literally) dead in the water for several days.  And, there is always the possibility of a cell site going down on the primary network, again.

  • Can't switch between  fill and outline.

    Here's the problem: I'm on an iMac, new, trying to use illustrator CS5. after using CS3 for a few years. In CS5, if I draw a shape, flat, in the illustration, then try to give it an outline, or change the outline, or do anything with the outline, I can't. If I click on the Shape tools in the toolbox and draw out an oval, for example, I can switch between outline and fill without any problems. Select shape, go to toolbox, select curved arrow for switching from one to the other. That's it. But if I draw a freehand shape, then try it, i can't do it. THIS IS A BIG CHANGE FROM PREVIOUS VERSIONS OF THE APP. GET IT? What is the problem? If it's something I have done, fine, tell me and I'll fix it. I tried calling Adobe support in Bangalore, and it took 30 minutes just to get the problem thoroughly appreciated by the techies. They just couldn't get the idea for half an hour! I had to go over it 4 or 5 times. And they couldn't come up with an answer. they were no help at all. I'm hoping the forum will yield better results. This is pathetic, guys. Your 90-day tech support is a worthless piece of crap, guys. The only tech support we have is this catch-as-catch-can forum. I've been using Illustrator since 1987, (illustrator 88) believe it or not, it's true. And I've always been able to get tech support to cure the ills. Not any more. Is that the way Adobe plans to offer tech support? if there were a way to contact Adobe Tech Support by going around Adobe Bangalore, i would use it. But, alas, I am stuck with this.

    Dear Monika and Mylenium: I figured out part of the problem, but not the solution: The shape I had drawn -and coudn't  switch between fil and stroke on-is one I had already done a gradient mesh on, too. I had later abandoned the gradient mesh by using the option key to delete mesh lines, but that didn't take the shape all the way back to its original flat state. So it wasn't a plain drawn shape any more. So how do I release the gradient mesh  to get back to  a flat shape? I'm also having trouble keeping the shapes in RGB or CMYK mode-they keep defaulting back to greyscale. Could that also be a symptom of using gradient mesh? Note: I'm using gradient mesh for the very first time now; I've never used it before. It seems to leave a lot of unexpected baggage behind. I would send a screen shot, but if I start up Grab or Voila, all the AI pallets go away, and that's half the information.  So how do I control gradient mesh?

  • I use BT Yahoo! but when I try and navigate to email from the home page it keeps jumping between 'connected and waiting for login' and never loads up.

    My internet service provider is BT in the UK. The home page is www.btinternet.com. After I've logged on, the home page displays fine - I can see the summary of my emails in one of the windows on the home page. The problem comes when I click on the mail application. The page then tries to load the email application. However, it never actually loads, it keeps jumping between connected and waiting for login. It never achieves it so I just have to click the 'back' button to get to the home page. I use chrome and ie but neither has this problem.

    I retraced my steps to how i got the Google app:
    App Store icon on Home Screen > Search, at bottom > entered Google
    The first Google App on the screen appears:
    Google logo small g in blue square: Google Search; Open (because it is already installed).  Below that is a picture of the iPod with the usual  Google Search screen.  I have never inserted a link into a discussion group so i hope you can open this. 
    http://https://itunes.apple.com/us/app/google-search/id284815942?mt=8
    Does this bring us any closer? 

  • Docked T500 - Switch between headphones and speakers

    Hey guys,
    I am using my T500 with an Advanced Mini Dock at work. I keep the headphones (with microphone) plugged into the docking station. 
    Sometimes I want to listen to the audio on my laptop's speakers rather than inside the headphones. Is there any way I can make this switch without unplugging the jack from the docking station. 
    I know that above the volume bar for some systems you are able to switch between headphones and speakers and also, up until ~1 month ago I was able to do this from the SmartAudio utility, but now I can't. I can just switch between SPDIF and headphones. 
    I am using Windows 7 64-bit and I have all the latest drivers and apps that come using the "System Update" utility.
    Please let me know if you have a solution for this.
    Thank you,
    Ciprian

    I'm pretty sure that the blame for this lies entirely with Microsoft and their stupid hardware-detecting W7 OS. Yes, it actually detects when you unplug the headphones, tells you what you just did, and promptly resets all sorts of things. The most sensible thing you can do (apart from reverting to XP, which doesn't do this) is to plug an external stereo jack to stereo jack socket extension lead, and plug either your headphones or speakers into that instead, whilst leaving the plug end permanently in the laptop. Microsoft can't pull that stupid stunt on an external connector, so you should be okay with that.

  • Switching between https and http requests

    Hi,
    Our application is built using ADF 10.1.3
    This application need to be integrated with an in house built single sign on system. ( SSO system is built in C# and .NET)
    This single sign on system only understand https request. Once user is validated against single sign on system, our application's authorization page is called in HTTPS mode. Once the user is authorized, he is forwarded to home page. While forwarding to home page, we want to convert the HTTPS request to HTTP.
    Currently once the user is authenticated, all requests are happening in HTTPS mode.
    We do not know how to make http request from existing https requested page.
    Any help is appreciated.
    Thanks
    Ranajit

    Hi,
    the way to do this is by redirecting the call from a PhaseListener or command button. The solution Avrom refers to is a PhaseListener that uses XML configuration file to determine whether or not the page you are navigating to requires https or http. The code that handles the protocol switch is printed below
      * Determines if the requested page requires SSL and if the current protocol
      * meets this need. If not the protocol is switched between http and https
      * @param viewId
      * @param pageRequiresSSL
      public void handleProtocolSwitch(String viewId, boolean pageRequiresSSL)
        ExternalContext exctx = FacesContext.getCurrentInstance().getExternalContext();
        boolean isSecureSSLChannel = ((HttpServletRequest)exctx.getRequest()).isSecure();
        // pages that require SSL and SSL is on, or pages that don't require
        // SSL but SSL is on and should be kept
        if (pageRequiresSSL && isSecureSSLChannel || !pageRequiresSSL && isSecureSSLChannel && isKeepSSLMode) {
        printDebugMessage("Page requires SSL = "+pageRequiresSSL+", channel is secure = "+isSecureSSLChannel+", is keep SSL = "+isKeepSSLMode);
        printDebugMessage("No protocol change required");
        // page requires SSL and SSL is not active. Switch to SSL.
        if (pageRequiresSSL && !isSecureSSLChannel) {
          printDebugMessage("Page requires SSL = "+pageRequiresSSL+", channel is secure = "+isSecureSSLChannel);
          printDebugMessage("Protocol change required to use https");
          switchToHttps(viewId);
        // switch to HTTP is page doesn't require SSL and channel isn't secure
        // and isKeepSSLMode is false
        if (!pageRequiresSSL && !isKeepSSLMode && isSecureSSLChannel) {
          printDebugMessage("Page requires SSL = "+pageRequiresSSL+", channel is secure = "+isSecureSSLChannel+", is keep SSL = "+isKeepSSLMode);
          printDebugMessage("Protocol change required to use http");
          switchToHttp(viewId);
        if (!pageRequiresSSL && !isSecureSSLChannel) {
          printDebugMessage("Page requires SSL = "+pageRequiresSSL+", channel is secure = "+isSecureSSLChannel);
          printDebugMessage("No protocol change required");
      * Switches from https to http using a redirect call
      * @param viewId
      private void switchToHttp(String viewId) {
          FacesContext facesContext = FacesContext.getCurrentInstance();
          ExternalContext exctx = facesContext.getExternalContext();
          ViewHandler vh = facesContext.getApplication().getViewHandler();
          String pageURI = vh.getActionURL(FacesContext.getCurrentInstance(), viewId);
          //redirect to http URL
          String remoteHost = getHostNameFromRequest();
          printDebugMessage("Switch to http on host "+ remoteHost);
          try {
              String port = httpPort.equalsIgnoreCase("80") ? "" : ":" + httpPort;
              String url = "http://" + remoteHost + port + pageURI;
              printDebugMessage("Redirecting to http URL "+ url); 
              //TODO check request Map
               this.printDebugMessage(" Content size of RequestMap before redirect "+exctx.getRequestMap().size());
              exctx.redirect(url);         
          } catch (IOException e) {
              printDebugMessage("Redirect to http port failed "+ e.getMessage());
      * switches to https using a redirect call
      * @param viewId
      private void switchToHttps(String viewId) {
          FacesContext facesContext = FacesContext.getCurrentInstance();
          ExternalContext exctx = facesContext.getExternalContext();
          ViewHandler vh = facesContext.getApplication().getViewHandler();
          String pageURI = vh.getActionURL(FacesContext.getCurrentInstance(), viewId);
          //redirect to https URL
          String remoteHost = getHostNameFromRequest();
          printDebugMessage("Switch to SLL/https on host "+ remoteHost);
          try {
              String port = httpsPort.equalsIgnoreCase("443") ? "" : ":" + httpsPort;
              String url = "https://" + remoteHost + port + pageURI;
              printDebugMessage("Redirecting to https URL "+ url);       
              //TODO check request Map
              this.printDebugMessage(" Content of RequestMap before redirect "+exctx.getRequestMap().size());
              exctx.redirect(url);         
          } catch (Exception e) {
              printDebugMessage("Redirect to http port failed "+ e.getMessage());
      * @return the hostname of the page request
      private String getHostNameFromRequest() {
          ExternalContext exctx = FacesContext.getCurrentInstance().getExternalContext();
          String requestUrlString = ((HttpServletRequest)exctx.getRequest()).getRequestURL().toString();
          URL requestUrl = null;
          try {
              requestUrl = new URL(requestUrlString);
          } catch (MalformedURLException e) {
              e.printStackTrace();
          String remoteHost = requestUrl.getHost();
          return remoteHost;
      }If your container doesn't support session sharing between http and https then the session is renewed. In OC4J you will have to configure this.
    Frank

Maybe you are looking for