MB Pro 2011 15"  changes resolution after logging out

Within sleep mode or manually logging out on my high res 1680x 1050 MBPro 2011 15" the screen turns into 1440 x 852 resolution.
The system shows up to have 2 connected monitors
main monitor stays at 1680 x 1050 and 2nd monitor with 1440 x 852
No chance to merge the screen - only re-boot helps !!

to test the issue try to install gfxcardstatus (so you can see which card you are using) and logout using intel card (close all app or open some like itunes, appstore...), the logout is ok.
now, to try using ati open app like cheese,firefox...
you can also switch card directly using gfxcardstatus .
i don't know if it is a bug for some new mbp or for all.

Similar Messages

  • New MBP changes resolution when logging out

    I have a brand new MacBook Pro 2.2 GHz Intel Quad Core i7 with a high resolution glossy display which have a native resolution of 1680x1050 pixles. But almost every time after I log out the resolution changes to 1440x852. In System Settings the resolution says 1680x1050 but under it it says (usable resolution 1440x852), and it's clearly the latter that is upscaled. Also it appears like I'm having two screens, which I'm not, and I can't change the brightness of the screen. On top of it all, the computer gets very slow.
    The only thing that seems to get rid of this bug is by disable automatic graphics switching in Energy system preferenses, but I kind of want automatic switching...
    Is this a bug that is going to be fixed soon, or will I have to have it repaired?

    to test the issue try to install gfxcardstatus (so you can see which card you are using) and logout using intel card (close all app or open some like itunes, appstore...), the logout is ok.
    now, to try using ati open app like cheese,firefox...
    you can also switch card directly using gfxcardstatus .
    i don't know if it is a bug for some new mbp or for all.

  • My Imac says "you need to restart your computer" after logging out and click on sleep. 10.6.8?

    My Imac recently gives a message "you need to restart your computer"  after logging out and clicking "sleep".  After a few seconds, gray screeen will roll down and give that messasge.  I disconnected  USB cable from my  printer.  Today,  after turning it on,  the log in screen showed then after 2 seconds the gray screen rolled down again and prompted "you need to restart the computer". I've read the apple communities about kernel panics but to no success. I have a 10.6.8, 2.7 ghz, 4GB.  This is the error that showed which I reported to apple mutiple times already.
    Panics Since Last Report:          4
    Anonymous UUID:                    522B583E-D9D7-463D-B57E-6849A69E41D9
    Wed Jan 22 11:52:33 2014
    panic(cpu 0 caller 0xffffff80002d1208): Kernel trap at 0xffffff7f80e2750d, type 14=page fault, registers:
    CR0: 0x000000008001003b, CR2: 0x00000000000001e0, CR3: 0x0000000000100000, CR4: 0x0000000000040660
    RAX: 0x000000000000000a, RBX: 0x00000000000001e0, RCX: 0x0000000001000000, RDX: 0x0000000000000000
    RSP: 0xffffff805e413eb0, RBP: 0xffffff805e413f10, RSI: 0x00000000000000dd, RDI: 0xffffff800b3eb7e0
    R8:  0x0000000000000003, R9:  0x0000000000000001, R10: 0x0000000000000007, R11: 0x0000000000000051
    R12: 0x000000000000000a, R13: 0xffffff804aa59004, R14: 0xffffff800d15f1b4, R15: 0x0000000000000000
    RFL: 0x0000000000010202, RIP: 0xffffff7f80e2750d, CS:  0x0000000000000008, SS:  0x0000000000000010
    Error code: 0x0000000000000000
    Backtrace (CPU 0), Frame : Return Address
    0xffffff805e413b50 : 0xffffff8000204d15
    0xffffff805e413c50 : 0xffffff80002d1208
    0xffffff805e413da0 : 0xffffff80002e3f4a
    0xffffff805e413db0 : 0xffffff7f80e2750d
    0xffffff805e413f10 : 0xffffff7f80e7f7d3
    0xffffff805e413f30 : 0xffffff800053e46d
    0xffffff805e413f60 : 0xffffff8000285b66
    0xffffff805e413fa0 : 0xffffff80002c8527
          Kernel Extensions in backtrace (with dependencies):
             com.apple.driver.AirPort.Atheros9388(426.35.3)@0xffffff7f80e1c000->0xffffff7f80 f66fff
                dependency: com.apple.iokit.IOPCIFamily(2.6.8)@0xffffff7f80804000
                dependency: com.apple.iokit.IO80211Family(320.1)@0xffffff7f80df7000
                dependency: com.apple.iokit.IONetworkingFamily(1.10)@0xffffff7f80ddd000
    BSD process name corresponding to current thread: kernel_task
    Mac OS version:
    10K549
    Kernel version:
    Darwin Kernel Version 10.8.0: Tue Jun  7 16:32:41 PDT 2011; root:xnu-1504.15.3~1/RELEASE_X86_64
    System model name: iMac12,2 (Mac-942B59F58194171B)
    System uptime in nanoseconds: 4614091555750
    unloaded kexts:
    com.apple.driver.AppleUSBUHCI          4.2.5 (addr 0xffffff7f80969000, size 0x65536) - last unloaded 128892379106
    loaded kexts:
    com.apple.filesystems.afpfs          9.7.1 - last loaded 1016854024083
    com.apple.nke.asp_tcp          5.0
    com.apple.filesystems.smbfs          1.6.7
    com.apple.filesystems.autofs          2.1.0
    com.apple.driver.AGPM          100.12.31
    com.apple.driver.AppleHWSensor          1.9.3d0
    com.apple.driver.AudioAUUC          1.57
    com.apple.driver.AppleUpstreamUserClient          3.5.7
    com.apple.driver.AppleMikeyHIDDriver          1.2.0
    com.apple.driver.AppleMCCSControl          1.0.26
    com.apple.Dont_Steal_Mac_OS_X          7.0.0
    com.apple.driver.AppleMikeyDriver          2.0.8f3
    com.apple.kext.ATIFramebuffer          6.4.2
    com.apple.driver.AppleIntelHDGraphics          6.4.2
    com.apple.driver.AudioIPCDriver          1.1.6
    com.apple.driver.AppleHDA          2.0.8f3
    com.apple.ATIRadeonX3000          6.4.2
    com.apple.iokit.AppleBCM5701Ethernet          3.0.8b2
    com.apple.driver.AirPort.Atheros9388          426.35.3
    com.apple.driver.ACPI_SMC_PlatformPlugin          4.7.0a1
    com.apple.driver.AppleLPC          1.5.1
    com.apple.driver.AppleBacklight          170.0.48
    com.apple.kext.AppleSMCLMU          1.5.2d10
    com.apple.driver.AppleIntelSNBGraphicsFB          6.4.2
    com.apple.driver.AppleBluetoothMultitouch          54.3
    com.apple.driver.AppleUSBCardReader          2.6.1
    com.apple.driver.AppleIRController          303.8
    com.apple.iokit.SCSITaskUserClient          2.6.9
    com.apple.iokit.IOAHCIBlockStorage          1.6.6
    com.apple.driver.AppleFWOHCI          4.7.7
    com.apple.driver.AppleUSBHub          4.2.5
    com.apple.BootCache          31.1
    com.apple.AppleFSCompression.AppleFSCompressionTypeZlib          1.0.0d1
    com.apple.driver.AppleEFINVRAM          1.4.0
    com.apple.driver.AppleAHCIPort          2.2.0
    com.apple.driver.AppleUSBEHCI          4.2.6
    com.apple.driver.AppleACPIButtons          1.3.6
    com.apple.driver.AppleRTC          1.3.1
    com.apple.driver.AppleHPET          1.5
    com.apple.driver.AppleSMBIOS          1.7
    com.apple.driver.AppleACPIEC          1.3.6
    com.apple.driver.AppleAPIC          1.4
    com.apple.driver.AppleIntelCPUPowerManagementClient          142.6.0
    com.apple.security.sandbox          1
    com.apple.security.quarantine          0
    com.apple.nke.applicationfirewall          2.1.14
    com.apple.driver.AppleIntelCPUPowerManagement          142.6.0
    com.apple.driver.AppleProfileReadCounterAction          17
    com.apple.driver.AppleProfileTimestampAction          10
    com.apple.driver.AppleProfileThreadInfoAction          14
    com.apple.driver.AppleProfileRegisterStateAction          10
    com.apple.driver.AppleProfileKEventAction          10
    com.apple.driver.AppleProfileCallstackAction          20
    com.apple.iokit.IOSurface          74.2
    com.apple.iokit.IOBluetoothSerialManager          2.4.5f3
    com.apple.iokit.IOSerialFamily          10.0.3
    com.apple.driver.DspFuncLib          2.0.8f3
    com.apple.iokit.IOAudioFamily          1.8.3fc2
    com.apple.kext.OSvKernDSPLib          1.3
    com.apple.driver.AppleSMBusController          1.0.10d0
    com.apple.driver.AppleBluetoothHIDKeyboard          141.5
    com.apple.driver.AppleHIDKeyboard          141.5
    com.apple.iokit.IOFireWireIP          2.0.4
    com.apple.iokit.AppleProfileFamily          41
    com.apple.driver.AppleHDAController          2.0.8f3
    com.apple.iokit.IOHDAFamily          2.0.8f3
    com.apple.driver.ApplePolicyControl          3.0.17
    com.apple.driver.AppleGraphicsControl          3.0.17
    com.apple.iokit.IO80211Family          320.1
    com.apple.iokit.IONetworkingFamily          1.10
    com.apple.driver.IOPlatformPluginFamily          4.7.0a1
    com.apple.driver.AppleSMBusPCI          1.0.10d0
    com.apple.driver.AppleBacklightExpert          1.0.2
    com.apple.iokit.IONDRVSupport          2.2.1
    com.apple.driver.AppleSMC          3.1.0d5
    com.apple.driver.AppleThunderboltEDMSink          1.1.3
    com.apple.driver.AppleThunderboltEDMSource          1.1.3
    com.apple.kext.ATI6000Controller          6.4.2
    com.apple.kext.ATISupport          6.4.2
    com.apple.iokit.IOGraphicsFamily          2.2.1
    com.apple.driver.IOBluetoothHIDDriver          2.4.5f3
    com.apple.driver.AppleMultitouchDriver          207.11
    com.apple.driver.AppleThunderboltDPOutAdapter          1.5.9
    com.apple.driver.AppleThunderboltDPInAdapter          1.5.9
    com.apple.driver.AppleThunderboltDPAdapterFamily          1.5.9
    com.apple.driver.AppleThunderboltPCIDownAdapter          1.2.1
    com.apple.iokit.IOUSBMassStorageClass          2.6.7
    com.apple.iokit.IOSCSIBlockCommandsDevice          2.6.9
    com.apple.iokit.IOUSBHIDDriver          4.2.5
    com.apple.driver.BroadcomUSBBluetoothHCIController          2.4.5f3
    com.apple.driver.AppleUSBBluetoothHCIController          2.4.5f3
    com.apple.iokit.IOBluetoothFamily          2.4.5f3
    com.apple.iokit.IOSCSIMultimediaCommandsDevice          2.6.9
    com.apple.iokit.IOBDStorageFamily          1.6
    com.apple.iokit.IODVDStorageFamily          1.6
    com.apple.iokit.IOCDStorageFamily          1.6.1
    com.apple.driver.XsanFilter          402.1
    com.apple.iokit.IOAHCISerialATAPI          1.2.6
    com.apple.iokit.IOSCSIArchitectureModelFamily          2.6.9
    com.apple.driver.AppleThunderboltNHI          1.3.2
    com.apple.iokit.IOThunderboltFamily          1.7.4
    com.apple.driver.AppleUSBMergeNub          4.2.5
    com.apple.driver.AppleUSBComposite          3.9.0
    com.apple.iokit.IOFireWireFamily          4.2.7
    com.apple.iokit.IOUSBUserClient          4.2.4
    com.apple.iokit.IOAHCIFamily          2.0.7
    com.apple.iokit.IOUSBFamily          4.2.6
    com.apple.driver.AppleEFIRuntime          1.4.0
    com.apple.iokit.IOHIDFamily          1.6.6
    com.apple.iokit.IOSMBusFamily          1.1
    com.apple.security.TMSafetyNet          6
    com.apple.kext.AppleMatch          1.0.0d1
    com.apple.driver.DiskImages          289
    com.apple.iokit.IOStorageFamily          1.6.3
    com.apple.driver.AppleACPIPlatform          1.3.6
    com.apple.iokit.IOPCIFamily          2.6.8
    com.apple.iokit.IOACPIFamily          1.3.0
    Model: iMac12,2, BootROM IM121.0047.B1F, 4 processors, Intel Core i5, 2.7 GHz, 4 GB, SMC 1.72f1
    Graphics: AMD Radeon HD 6770M, AMD Radeon HD 6770M, PCIe, 512 MB
    Memory Module: global_name
    Bluetooth: Version 2.4.5f3, 2 service, 19 devices, 0 incoming serial ports
    Network Service: Ethernet, Ethernet, en0
    Serial ATA Device: ST31000528AS, 931.51 GB
    Serial ATA Device: OPTIARC DVD RW AD-5680H
    USB Device: FaceTime HD Camera (Built-in), 0x05ac  (Apple Inc.), 0x850b, 0xfa200000 / 3
    USB Device: Hub, 0x0424  (SMSC), 0x2514, 0xfa100000 / 2
    USB Device: BRCM2046 Hub, 0x0a5c  (Broadcom Corp.), 0x4500, 0xfa110000 / 4
    USB Device: Bluetooth USB Host Controller, 0x05ac  (Apple Inc.), 0x8215, 0xfa111000 / 6
    USB Device: Hub, 0x0424  (SMSC), 0x2514, 0xfd100000 / 2
    USB Device: IR Receiver, 0x05ac  (Apple Inc.), 0x8242, 0xfd120000 / 4
    USB Device: Internal Memory Card Reader, 0x05ac  (Apple Inc.), 0x8403, 0xfd110000 / 3
    What is going on with this error?

    It hasn't been acting up since I:
    1) Since I unplug my all in one printer with wifi (Hewlett Packard).  I barely use the printer and it keeps cleaning out the jets and wasting my **** ink.  Plus it'll do a loud self test @ 3:00 in the morning & by this time, I pulled my baseball bat from under the bed and ready to smash some skulls in the office room thinking its a burglar.
    But seriously it stop doing it. 
    This is a late reply but confirmed after 7 months.
    Note:  I shut down instead of sleep my Imac now because I hardly use it.

  • After Time Machine backs up my file vault files (after logging out), when I next log into the user account it beachballs permanently during log in.

    After Time Machine backs up my file vault files (after logging out), when I next log into the user account it beachballs permanently during log in.  The backup was successful, as I had to restore after this issue last time.  Hard resetting doesn't resolve the issue.  Is there a Time Machine setting that I should be aware of?
    I have 2011 13" MBP, 10.6.8 and use an external hard drive connected via USB for my Time Machine backups.
    Thanks

    I was able to get it to work.  Thanks for your help.  It's unfortunate the two applications do not work well together.  This is what I did:
    1) Safe boot and logged into the affected user (since the whole issue damaged the account's system settings).
    2) Turned off File Vault in System Preferences. I needed to make some space on the hard drive first since apparently the total free space on the hard drive has to equal or exceed the amount of data currently in the file vault.  I deleted some files and moved others to the Admin account.  This whole process took awhile.
    3) Finally, just restarted and logged in.  The next time machine backup seems to be a significant backup, I assume because it's backing up the user account in a different way now that File Vault is turned off.
    Thanks again!

  • Sgd client does not close after logging out of sgd on windows vista

    Hi,
    I have a scenario wherein I find that the sgd client in the system tray does not close even after logging out of sgd (using the browser).
    We are using sgd 4.3.1
    Is this a known issue.
    Thanks,

    Well, after searching every where, somewhere (not sure where now) I saw the suggestion to turn off bluetooth and NFC. I turned off both and it *seems* like the issue may be corrected. But what if I want touse a BT device, I guess I am stuck?
    As to your questions, I my have changed to a larger mouse cursor, either that or the default cursor. 
    I think I may have had "mouse trails" clicked, not sure if that it the same as a mouse shadow?  Neither ofthese options seem to make a difference.
    I had a standard Windows provided background for use, no personal photos. 
    Hopefully this partial fix (turning off the other settings) helps someone else. It seems to have fixed the problem for me, at least in the last 3-4 days since switching I have not noted a return of the problem. 
    Dragon-Fur wrote:
    I wish I were writing with a fix.  I, too, have a new X2 -- I like it very much.  I have not seen what you describe.
    Instead, I have more questions;  I am intrigued.  I wonder if the way in which you have the system set is having an affect on the way it is behaving.
    Do you see the problem regardless of which mouse pointer you set? 
    There are a variety of choices -- I use an extra large white arrow most of the time; sometimes I switch to a black cursor just for grins.  You can change the selectors, too.  Right-Click on the Background Screen and click Personalize ...
    Are you using the entirely useless, but oh-so-pretty "mouse shadow"?
    I am wondering if changing the pointer has had any effect on the disappearing act.
    What about the background?  Are you using a personal photo?  Lots of colors?  Does changing the background make any difference?

  • How to stop the gray wheel from spinning after logging out

    how to stop the gray wheel from spinning after logging out?

    Frank ...
    Make sure to quit all open applications before logging out.
    Your proflie indicates your Mac has v10.7.1 installed.
    If that is the case, updating your system software will help as far as functionaly as well as security.
    Install the OS X Lion Update 10.7.5 (Client Combo)
    Then restart your Mac.
    message edited by:  cs

  • New to the Apple and I want to set up a user account that will not delete the guest users files and allow and preserve their personal settings after log out. Is this possible?

    New to the Apple and I want to set up a user account that will not delete the guest users files and allow and preserve their personal settings after log out. Is this possible?

    The built-in guest user account will not do this. Simply create a new standard account and call it "Guest" or "Guest Users" or whatever you like.
    Go to System Preferences > Users& Groups, click "+" to make a new account.

  • Getting Error 500 when pressing the backbutton of the browser after log out

    I am working on a web project , and am using AJAX in my application. I need to get list of templates and events stored in the database when my page is being loaded so im using AJAX. the problem is, when i press the logout in my page and after logging out if i press the browsers back button then im getting the Http Error 500.
    Regarding this issue i previously also posted but i havent get solved my problem. (may be i havent posted my source code , rather i just posted error message.).
    Here is the error message of the browser,
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    java.lang.NullPointerException
         com.koffee.eon.subscriber.action.TemplateNames.doPost(TemplateNames.java:66)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:416)
    Here is my source code of the TemplateNames class,
    package com.koffee.eon.subscriber.action;
    import com.koffee.eon.subscriber.persistence.*;
    import java.io.IOException;
    import java.io.PrintWriter;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import javax.servlet.http.HttpSession;
    import java.text.SimpleDateFormat;
    import java.util.*;
    public class TemplateNames extends HttpServlet {
    public void doPost(HttpServletRequest request, HttpServletResponse response)
         throws ServletException, IOException {
         response.setContentType("text/html");
         PrintWriter out = response.getWriter();
         String html="",html1="";
         HttpSession session=request.getSession();
         UserCompleteDetails sessionDetails=(UserCompleteDetails)session.getAttribute("userdetails");
         System.out.println("checking session after logout"+sessionDetails);
         if(sessionDetails==null)
         System.out.println("session details in if condition is:"+sessionDetails);
         response.sendRedirect("/login.jsp");
         System.out.println("after checking "+sessionDetails);
         String type=null;
         type=request.getParameter("type");
    String subscriberUserEONId=sessionDetails.getUserEonId();
    System.out.println("subscriberUserEONId from session is: "+subscriberUserEONId);
         SimpleDateFormat sdfDate=new SimpleDateFormat("yyyy-MM-dd");
         SimpleDateFormat sdfTime=new SimpleDateFormat("HH:mm:ss");
         TemplateManagement dbObj=new TemplateManagement();          
    EventManager dbObj1=new EventManager(); // for events
         List templateNames=dbObj.getTemplates(subscriberUserEONId);
         List eventIds=dbObj1.getEventsCompleteList(subscriberUserEONId); // for events
         System.out.println("size of list of templates is:" + templateNames.size());
         System.out.println("size of list of events is: "+eventIds.size()); // for events
         if(type==null)
         html+="<table><tr><td>Select Your Invitation Card: ";
         html+="<select name=\"templateName\" class=\"cell\" onchange=getImage(this.value) onblur=checkTemplate() tabindex=\"1\">";
         html+= "<option value=\"0\">Select</option>";
         HashMap hmap=new HashMap();
         try {
         for(int i=0;i<templateNames.size();i++) {
         TemplateMaster bean=(TemplateMaster)templateNames.get(i);
         Integer templateid=bean.getTemplateId();
         String templatepath=bean.getTemplateRelevantpath();
         hmap.put(templateid,templatepath);
         System.out.println("path recevied from db for template is: "+templatepath);
    System.out.println("template id received from db is : "+templateid);
         html+= "<option value=\"" + templateid + "\">" + templateid + "</option>";
         } catch(Exception ee) {ee.printStackTrace();}
         session.setAttribute("hmap", hmap);
         html+="</select></td></tr><tr><td>";
         System.out.println("path new is : "+html);
         html+="</td>";
         System.out.println(html);
    html+="</td></tr><tr><td>Select an Event: ";
              html+="<select name=\"eventId\" class=\"cell\">";
              try {
         for(int j=0;j<eventIds.size();j++) {
         EventMaster bean=(EventMaster)eventIds.get(j);
         String eventName=bean.getEventName();
         Integer eventId1=bean.getEventId();
         String eventStartDate=sdfDate.format(bean.getEventStartdate());
         String eventStartTime=sdfTime.format(bean.getEventStarttime());
         String eventId=eventName+" on "+eventStartDate+" at "+eventStartTime;
         System.out.println("event id from database is : "+eventId1);
         System.out.println("event list from database is : "+eventId);
         html+= "<option value=\"" + eventId1 + "\">" + eventId + "</option>";
         } catch(Exception eee) {eee.printStackTrace();}
         html+="</select></td></tr></table>";
         System.out.println(html);
         out.println(html);
         out.flush();
         out.close();     
         if(type!=null)
         html1+="</td></tr><tr><td>Select an Event: ";
         html1+="<select name=\"eventId\" class=\"cell\">";
         try {
         for(int j=0;j<eventIds.size();j++) {
         EventMaster bean=(EventMaster)eventIds.get(j);
         Integer eventId1=bean.getEventId();
    String eventId2=eventId1.toString();
         String eventName=bean.getEventName();
         String eventStartDate=sdfDate.format(bean.getEventStartdate());
         String eventStartTime=sdfTime.format(bean.getEventStarttime());
         String eventId=eventName+" on "+eventStartDate+" at "+eventStartTime;
         System.out.println(eventId);
         html1+= "<option value=\""
    + eventId2 + "\">" + eventId + "</option>";
         } catch(Exception eee) {eee.printStackTrace();}
         html1+="</select></td></tr></table>";
         out.println(html1);
         out.flush();
         out.close();     
    }

    chinni wrote:
    java.lang.NullPointerException
         com.koffee.eon.subscriber.action.TemplateNames.doPost(TemplateNames.java:66)Do you understand when a NPE will be thrown? Some object reference at line 66 of TemplateNames.java is null while you didn't expect and you still invoke/access it. To fix this, add a nullcheck or just instantiate the reference.

  • How to prevent Spaces from creating a new session after logging out

    Hi,
    I'm using WebCenter Spaces (11.1.1.4), and I notice that the user is redirected to the landing page after logging out which causes a new HTTP session to be created. I'd like to avoid this behavior, and I was told that this could be done by creating a custom logout page with pure HTML and redirect the user there upon logout. How do I go about doing this? I couldn't find anything related to this in the documentation.
    Thanks,
    Robert

    What's wrong with a new session?
    When you logout, the current session will be destroyed so it's just normal that he creates a new webcenter that does not contain a user credential.

  • Preventing the User from going back to the main page after logging out.

    Hi all,
    In my project I want to prevent the User from going back to the Main page, by clicking the back button of the browser, after the user has loggged out.I had invalidated the session so the user will not be able to do any operations, but he can vew the infos. I want to redirect to the login page if the user tries to go back using the back button after he has logged out.
    I tried the same in this forum after loging out. Surprisingly it is the same. I can browse through all the operations i did even after logging out from here.
    Is it not possible to do that in Servlets?Could somebody help?
    Thanks,
    Zach.

    Hi,
    You can use a servlet filter to do this , as it can interceptany request to your application you can decide to allow user access or not to any page/servlet.
    public class Test implements Filter{
         public void destroy() {
         public void doFilter(ServletRequest arg0, ServletResponse arg1, FilterChain arg2) throws IOException,
                   ServletException {
              System.out.println("filter");
              HttpServletRequest request = (HttpServletRequest) arg0;
              if(!request.getRequestURI().contains("index")){ // set condition that will be checked to verify if the user is logged in
                   System.out.println("redirecting ... ");
                   RequestDispatcher d = arg0.getRequestDispatcher("/index.jsp");
                   d.forward(arg0, arg1);
              arg2.doFilter(arg0, arg1);
         public void init(FilterConfig arg0) throws ServletException {
    }in you web.xml add :
    <filter>
              <filter-name>test</filter-name>
              <filter-class>test.Test</filter-class>
         </filter>
         <filter-mapping>
              <filter-name>test</filter-name>
              <url-pattern>/*</url-pattern>
         </filter-mapping>

  • Avoid browser caching after log out

    Hi all
    Once i logout. i am able to go in to the application using the browser back button .
    how to restrict this back action after log out .
    i tried with the header
    session.invalidate();
    response.setHeader("Cache-Control","no-cache");
    response.setHeader("Cache-Control","no-store");
    response.setDateHeader("Expires", 0);
    response.setHeader("Pragma","no-cache");
    but dint help me .
    also tried with
    javascript:window.history.forward(-1);
    it also dint work .
    my browser is Firefox/3.0.13
    any suggestions.

    hi
    once i click on logout link .it reaches to my servlet and there i am setting the header and then forwarding to the login page again.
    so i dint understand " you should disable caching at the top of your views"
    can u please explain it.
    public void doGet(HttpServletRequest request,HttpServletResponse response) throws ServletException, IOException
            HttpSession session = request.getSession(true);
            session.removeAttribute("flag");
            session.invalidate();
            response.setHeader("Cache-Control","no-cache");
            response.setHeader("Cache-Control","no-store");
            response.setDateHeader("Expires", 0);
            response.setHeader("Pragma","no-cache");
            System.out.println("i have reached here ");
            dispatcher = getServletContext().getRequestDispatcher("/index.jsp");
            dispatcher.forward(request, response);
           }i tried putting the above header lines in jsp also ...
    but the result is same it allowed me to navigate in to the application using back button .
    I have googled for a solution ...but was not able to land with a solution .
    Kindly suggest
    Thanks in advance

  • After logging out of mozilla firefox i cannot log back in to mozilla firefiox , why ?

    after logging out of Mozilla Firefox
    I can't log back in
    why ?
    please help me

    This just happened to me too. But I've been on iTunes Match for several months now. I've had the problem several times before where ITM says something's "not available at this time; try again later," and at those times I've had to sign out of my iTunes Store account and back in for ITM to work again.
    But this time, when I tried to turn on iTunes Match again, I got this error (on my screen right now):
    iTunes match is matching a library from another computer. Only one library can be matched at a time. If you continue, the other iTunes Match session will be stopped and this computer's library will be matched instead. Buttons: [Cancel] [Match this computer]
    Well, I surely do NOT want to "Match this computer", as I have several thousand songs in iCloud that are NOT on this computer!
    What is going on???

  • Macbook Pro 2011 running very slowly after upgrading to Mavericks

    I am in deep trouble with my wife so any help would be gratefully accepted.
    Shortly after Mavericks became available I upgraded my wife's Macbook Pro 2011 to use the new OS version. Ever since then, the Macbook has been running noticeably slowly. In particular, Mail is almost unusuable taking minutes to open and showing long delays while moving around messages, folders, etc. Excel and Word are also much slower, Safari is slow, in fact just about everything is grinding.
    Any ideas on what can I can do to improve things and apease my unhappy wife would be much appreciated.
    I have attached the Etrecheck output FYI
    Thanks
    Andrew
    Hardware Information:
              MacBook Pro (13-inch, Late 2011)
              MacBook Pro - model: MacBookPro8,1
              1 2.4 GHz Intel Core i5 CPU: 2 cores
              4 GB RAM
    Video Information:
              Intel HD Graphics 3000 - VRAM: 384 MB
    System Software:
              OS X 10.9.1 (13B42) - Uptime: 0 days 0:5:25
    Disk Information:
              Hitachi HTS545050B9A302 disk0 : (500.11 GB)
                        EFI (disk0s1) <not mounted>: 209.7 MB
                        Macintosh HD (disk0s2) /: 499.25 GB (361.28 GB free)
                        Recovery HD (disk0s3) <not mounted>: 650 MB
              MATSHITADVD-R   UJ-8A8 
    USB Information:
              Apple Computer, Inc. IR Receiver
              Apple Inc. FaceTime HD Camera (Built-in)
              Apple Inc. BRCM2070 Hub
                        Apple Inc. Bluetooth USB Host Controller
              Apple Inc. Apple Internal Keyboard / Trackpad
    FireWire Information:
    Thunderbolt Information:
              Apple Inc. thunderbolt_bus
    Kernel Extensions:
    Problem System Launch Daemons:
    Problem System Launch Agents:
    Launch Daemons:
              [loaded] com.adobe.fpsaud.plist 3rd-Party support link
    Launch Agents:
    User Launch Agents:
              [loaded] com.google.keystone.agent.plist 3rd-Party support link
    User Login Items:
              Dropbox
    Internet Plug-ins:
              LogMeInSafari64: Version: 1.0.730 3rd-Party support link
              Google Earth Web Plug-in: Version: 6.0 3rd-Party support link
              Default Browser: Version: 537 - SDK 10.9
              OfficeLiveBrowserPlugin: Version: 12.3.6 3rd-Party support link
              Silverlight: Version: 4.0.50401.0 3rd-Party support link
              FlashPlayer-10.6: Version: 11.9.900.170 - SDK 10.6 3rd-Party support link
              LogMeIn: Version: 1.0.730 3rd-Party support link
              Flash Player: Version: 11.9.900.170 - SDK 10.6 Outdated! Update
              QuickTime Plugin: Version: 7.7.3
              LogMeInSafari32: Version: 1.0.730 3rd-Party support link
              iPhotoPhotocast: Version: 7.0
              JavaAppletPlugin: Version: 14.8.0 - SDK 10.9 Outdated! Update
    Audio Plug-ins:
              BluetoothAudioPlugIn: Version: 1.0 - SDK 10.9
              AirPlay: Version: 1.9 - SDK 10.9
              AppleAVBAudio: Version: 2.0.0 - SDK 10.9
              iSightAudio: Version: 7.7.3 - SDK 10.9
    3rd Party Preference Panes:
              Flash Player  3rd-Party support link
    Bad Fonts:
              None
    Old Applications:
              /Library/Application Support/Microsoft/MERP2.0
                        Microsoft Error Reporting:          Version: 2.2.9 - SDK 10.4 3rd-Party support link
                        Microsoft Ship Asserts:          Version: 1.1.4 - SDK 10.4 3rd-Party support link
              SuperDuper!:          Version: 2.7.1 - SDK 10.4 3rd-Party support link
              Microsoft AutoUpdate:          Version: 2.3.6 - SDK 10.4 3rd-Party support link
                        /Library/Application Support/Microsoft/MAU2.0/Microsoft AutoUpdate.app
    Time Machine:
              Time Machine not configured!
    Top Processes by CPU:
                   7%          Safari
                   6%          Dropbox
                   5%          WindowServer
                   3%          hidd
                   2%          com.apple.WebKit.Networking
    Top Processes by Memory:
              119 MB          com.apple.IconServicesAgent
              106 MB          Safari
              94 MB          Finder
              94 MB          Dropbox
              94 MB          Mail
    Virtual Memory Information:
              1.26 GB          Free RAM
              1.44 GB          Active RAM
              311 MB          Inactive RAM
              1014 MB          Wired RAM
              251 MB          Page-ins
              0 B          Page-outs

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
    View ▹ Show Log List
    from the menu bar.
    Click the Clear Display icon in the toolbar. Then try the action that you're having trouble with again. Select any messages that appear in the Console window. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message (command-V).
    When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Important: Some private information, such as your name, may appear in the log. Anonymize before posting.

  • Login screen changes resolution after a second

    It' weird but my login screen on this laptop with arch always loads up at a lower resolution (larger font) then after like one second the screen refreshes into a higher res login. Didn't really know where to search for this issue, does anyone have any idea why it does that? There's also like a randomly red-purple colored T character around the top of the screen doesn't really bother me but maybe it's related somehow. Also I'm describing this in context of an alienware m15x with nvidia geforce GTX 260m
    And it's being driven by the nouveau pkg xf86-video-nouveau
    Last edited by NeoZelux (2012-12-28 01:24:06)

    HungGarTiger wrote:Intel, Nouveau and ATI drivers already enable KMS automatically for all chipsets. So you need not install it manually.
    Yes, but not for early boot. That needs to be enabled manually. (Nothing to install, though.)
    HungGarTiger wrote:
    cfr wrote:Basically, the entire display goes to pieces like garbled white on black and shifts a lot and then after a noticeable moment, the display resolves into a much higher resolution version and everything settles down.
    I used to have a problem with Ubuntu/Debian, where by my screen would randomly flicker for a second and random noise/garbled black and white static would appear until I played with something on screen. Then everything would settle down for a while, the resolution would remain the same though. That's never happened on Arch..
    I should be clear: it happens as part of the boot process - not when the machine is up and running. It always happens at the same point when the nouveau driver is loaded. The reason it changes resolution is because it is switching to a driver which supports the graphics card properly and so I'm getting native resolution after that point but not before. I can't say it bothered or bothers me. The first time it was heart stopping because nothing, nothing was working and I felt I'd tried everything to get the graphics to be bearable but after that it was just part of the boot process and I was always quite pleased to see it because it meant that the graphics driver was loading! (I had trouble getting it to work and ended up having to blacklist stuff or something. Since this was my first install of GNU/Linux, getting it all working on non-ideal hardware was somewhat like being thrown in at the deep end, even though I used Debian. At least, so it felt at the time... People kept telling me to use the nvidia drivers and I kept explaining that I could not do so because they didn't make them for PPC!)
    Last edited by cfr (2012-12-29 03:00:58)

  • Wallpaper defaults to 'Galaxy' after log out + now stuck on grey screen

    Hi all,
    Hope someone can help with this one.
    Basically, like many others, I've been trying to get around
    the wallpaper problem that Lion has brought with it.
    By this, I mean how if you change the wallpaper to a custom
    image, as soon as you log out and back in it changes back
    to the galaxy one from Lion.
    So after searching the solutions on the forums I decided to
    act on the following troubleshooting advice from a member
    commenting on the problem... (advice I followed in bold)
    (Originally posted by member: Ahmed21788)
    One basic solution for this is to save your wallpapers in the HDD where you've installed the MAC OS X..
    but I didnt want to save all my wallpapers in Native Mountain Lion HDD, so i figured out my perfect fix..!!
    This is how i fixed..
    I found this file in my Lion install drive.. autodiskmount.plist
    Library/Preferences/SystemConfiguration/autodiskmount.plist
    If you can't find it on your OS X Install Drive then you can make one by typing
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="0.9">
    <dict>
    <key>AutomountDisksWithoutUserLogin</key><true/>
    </dict>
    </plist>
    rename ur txt file to autodiskmount.plist
    save this in your MAC OS X HDD
    Library/Preferences/SystemConfiguration/autodiskmount.plist
    restart your system..
    So... after following this advice I haven't been able to get my machine back on!
    It just gets to the grey screen with apple and spinning wheel and goes no further.
    It won't even safe boot.
    However I did manage to get to repair disk permissions via cmd+option+p+r.
    But when I restarted it still wouldn't go any further than the grey screen/spinning wheel.
    Any help/ideas would be greatly appreciated.
    Cheers,
    Ben.

    Hi keithos27,
    I have a macbook pro early 2011 15" like you, and unfortunately something identical happened to me: "... the computer went black and an audio was stuck on a loop over and over..." - "...grey screen on for a few minutes and eventually the computer's fan spins up and runs at full speed".
    I followed the article mentioned too, but nothing solved the problem.
    Eventually I took the mac to the local authorized service provider. It turns out that the problem is due to the notorious GPU failure of the 2011 macbook pro.
    It means that unless I replace the entire logic board, I end up with a marvellous piece of aluminium...
    This is my experience, I can't say that's 100% your case. I hope it isn't. Try to check at an apple store.
    Good luck!

Maybe you are looking for

  • Get the value of a particular field in a segment of an Idoc

    Hi All, I have a requirement where I need to write a report which will fetch the value of a particular field in a segment of an idoc. I have the idoc number segment and field name as input parameters by which I can fetch Sdata from EDID4 but the conf

  • I bought Adobe Acrobat Pro 9 and I need to reinstall it. Please could you provide me with a link. (I

    I bought Adobe Acrobat Pro 9 (in 2011)and I need to reinstall it. Please could you provide me with a link for download for MAC OSX. (I have the serial number in my adobe account.)

  • IPod not syncing even as Root

    NOTE: I have read the wiki for the ipod and also tryed some sugestion found here in the forums hello everyone I'm having an issue with my ipod clasic wene ever I try to copy music and/or podcast useing banshee, gtkpod,  rhythmbox, gpodder and all of

  • Is conditional formatting possible?

    I've been scanning the forums for an answer to this question but haven't been successful. I am trying to program my form (it's a Travel Expense Reimbursement form) so that one of two fields will auto populate with information from another cell, based

  • Problem importing Premier Pro CS4 files into CS5

    I have loaded Premier Pro CS5 onto a spanking new 64 bit machine.  When I import a CS4 project file into CS5, it asks me to locate the raw video files but nothing else.  All titles with graphics in them are without the graphics. The text is OK.  The