Session Scoped obSSOCookie

Hi all

In my application if the user clicks the "Logout" link, the obSSOCookie is removed. Later, when the user connects to the site with the same browser, every thing working perfectly. But if the user closes the browser without properly signing out, I see some strange results when the user logs in next time in the same browser.

How can I configure the webgate to create a Session obSSOCookie scope? I mean the obSSOCookie must be removed when the user closes the browser (without siging off properly).

A * R

Hi Renon,

By default, the ObSSOCookie is a session cookie. The problem could be your browser - Firefox and other tabs these browsers, browser instances share cookies and even close the browser do not get rid of it. You can try to use a HTTP monitoring tool to check that the ObSSOCookie is always there even when you "close" the browser and try to log in the next time.

-Vinod

Tags: Fusion Middleware

Similar Questions

  • Session in ATG

    Hello

    For which session feature is used to ATG, that is to say what is the use of session in the ATG. and how it is done in ATG?

    Components: session scope

    Repository: Transitional properties

    Session cookies:?

    Concerning

    For which session feature is used to ATG, that is to say what is the use of session in the ATG. and how it is done in ATG?

    Components: session scope

    Repository: Transitional properties

    Session cookies:?

    Session lifecycle is managed entirely by the application server manages things like generating a unique session id, creation of the session, its invalidation, it switches etc. When we talk about the ATG sessions, we are actually talking about a wrapper around the session of underlying app server that acts as a root for all session scoped in ATG. ATG, all kernel components live in a tree hierarchy and root for all components of session scope is located in the: / atg/dynamo/servlet/sessiontracking/GenericSessionManager // where is generated by the application server.

    Usually, there are several web apps in the EAR of the assembled ATG, which should be regarded as the parent web - app parent means that sessionId of this web application will serve as the basis for the creation of the root scope session kernel. OOTB, the DafEar\base\j2ee-components\atg-bootstrap.war is the parent application with a /dyn context root. And what generally, we define the atg.session.parentContextName and atg.dafear.bootstrapContextName parameters in the Web.XML of our web apps to point to the web - app as a parent:

    atg.session.parentContextName

    /dyn

    atg.dafear.bootstrapContextName

    /dyn

    ATG also has a SessionBindingReporter object that implements the interface javax.servlet.http.HttpSessionBindingListener. It is added to each session web application as an attribute. According to the J2EE specifications, this object must be notified by the application server when the session is started (call to its method of valueBound application server) or invalidated (his valueUnbound method inoked). In ATG this SessionBindingReporter object maintains a counter to track the number of references to the scope of the kernel session. As each child web - app is requested, this counter will be incremented. The counter is decremented whenever a session is expired. But when this counter reaches 0, which means that all the web - app in children and parents sessions have been expired and brought core session may be removed without problem.

    Happens to the other party. I'm not sure why you mentioned transitional properties here in this context, but outside the session scope components resemble certain specific characteristics of session supported in the ATG: backup and restore Session, Session failover etc.

  • PPR and portlet rendering parameters

    Hello.

    We have a portal page and a couple of portlets on that that share the same rendering setting. as Yannik stressed in one of his blog posts, it is not possible to change a setting for rendering of inside a portlet in the PPR, so instead we have a dedicated control on the page itself that initiates the change. This is a control that is based on JavaScript which sends a client event and stores the value in a bean (using AdfCustomEvent.queue and an af:serverListener). We then add portlets to the page using composer and settings portlet of wire to the bean via an EL expression. Portlets are also added as partialTarget in response to the serverListener the method that sets the value of bean.

    problem is that it works when the page is refreshed and not during the PPR (which apparently occurs when the client event is handled by the server listener method). portlets are refreshed everything correctly, but the parameter value remains the same (although the value of bean is successfully changed).

    so, essentially, the question is: is it still possible to send a report to a portlet parameter when the change is driven by customer events?

    If anyone is interested, we found a solution for this problem.

    Suppose we have a page with a portlet in JSR-286 has a correctly declared PRP called 'aPublicRenderParameter '.

    Control of ADFc code which allows the customer to event management (Nothing ADF special, of habit, assuming you have JQuery):

          
                var adfDocument;
    
            function initPrp(evt) {
                //we use JQuery events to communicate parameter change events
                $(document).bind("parameterChange", onParameterChange);
                //a ref to ADF document root is necessary as we will use it as source of parameter change events
                adfDocument = event.getSource();
            }
    
        function onParameterChange(evt, name, value, force) {
            try {
                if (adfDocument != null) {
                    AdfCustomEvent.queue(adfDocument, "CPRP",
                        {
                            fname : name, fvalue : value
                        },
                        true
                    );
                }
            }
            catch (e) {
                console.log(e);
            }
        }
    
        $(function () {
            $('#aComboBox').change(function () {
             $(document).trigger("parameterChange",["aPublicRenderParameter", $(this).val()]);
            });
        });
        
    
        
        
    

    Here we have a selector drop-down list box that drives the parameter updates. We declare a client event "CPO" to send updates to the Server Manager (bean prpChangeHandler). "load" the client listener are necessary because portlets Initializes only after responsible for document ADF, updates occurring before setting will never get caught.

    and now the magic of server:

    import java.util.Collections;
    import java.util.HashMap;
    import java.util.HashSet;
    import java.util.Map;
    import java.util.Set;
    
    import javax.faces.component.UIComponent;
    import javax.faces.context.FacesContext;
    
    import oracle.adf.model.BindingContext;
    import oracle.adf.model.binding.DCBindingContainer;
    import oracle.adf.model.portlet.binding.PortletBinding;
    import oracle.adf.share.logging.ADFLogger;
    import oracle.adf.view.rich.context.AdfFacesContext;
    import oracle.adf.view.rich.render.ClientEvent;
    
    import oracle.jbo.Variable;
    
    import oracle.jbo.VariableValueManager;
    
    /**
     * this is session-scoped "prpChangeHandler" bean
     */
    public class GlobalRenderParamChangeHandler {
        private static final ADFLogger logger = ADFLogger.createADFLogger(GlobalRenderParamChangeHandler.class);
    
        private final Map paramCache = new HashMap();
    
        /**
         * handles ADF client event that updates a PRP
         * @param ce
         */
        public void handleChangeEvent(ClientEvent ce) {
            logger.info(ce.toString());
    
            String paramName = (String)ce.getParameters().get("fname");
    
            //we need to set a new value
            paramCache.put(paramName, ce.getParameters().get("fvalue"));
    
            //we still need to indicate renderResponse, for geometry to be properly managed
            String[] clientIds = update(paramName);
            render(ce.getComponent(), clientIds);
        }
    
        /**
         * updates an ADF page variable corresponding to this PRP, thus
         * triggering the parameter update via ADF bindings.
         * @param name
         * @return array of portlet client ids to be updated during partial response rendering
         */
        private String[] update(String name) {
            Set portletsToRefresh = new HashSet();
            DCBindingContainer  c = (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
            VariableValueManager vm = c.getVariableManager();
    
            for (Object binding : c.getExecutableBindings()) {
                if (binding instanceof PortletBinding) {
                    PortletBinding portletBinding = (PortletBinding)binding;
                    String portletClientId = portletBinding.getPortletModel().getPortletComponentClientIds().iterator().next();
                    String varName = portletBinding.getId() + "_" + name;
                    Variable v = (Variable) vm.getVariablesMap().get(varName);
    
                    if (v != null) {
                        Object currentVal = vm.getVariableValue(varName);
                        Object newVal = paramCache.get(name);
    
                        if (newVal != null && !newVal.equals(currentVal)) {
                            portletsToRefresh.add(portletClientId);
                            vm.setVariableValue(varName, newVal);
                        }
                    }
                }
            }
    
            return portletsToRefresh.toArray(new String[portletsToRefresh.size()]);
        }
    
        /**
         * renders partial response forcing refresh on specified components
         * @param parent
         * @param childrenToRefresh
         */
        private void render(UIComponent parent, String[] childrenToRefresh) {
            for (String id : childrenToRefresh) {
                AdfFacesContext.getCurrentInstance().addPartialTarget(parent.findComponent(id));
            }
            FacesContext.getCurrentInstance().renderResponse();
        }
    }
    

    Javadoc comments are self-explanatory; essentially, this client event handler updates the link ADF variable which corresponds to a PRI to a portlet (and is automatically created by ADF when you place a portlet on a page). After that, we initiate a partial refresh on some portlets (and this is why our customer event source is the document root ADF - to be able to find the corresponding portlet components and add them as partialTargets).

    I don't know if it's the right way to do what we wanted, but this so far is the only way I found.

  • Size of session causing Oracle ADF viewScope bloat

    I'm sure you know, ADF introduced some additional scopes (pageFlowScope, viewScope and backingBeanScope) on top of the standard JSF ones. Our use of one of the stretches of the ADF, viewScope, seems to be the cause of the size of our session to swell over time.

    Objects that are view scope (for example, our Backing Beans) are managed by the ADF and seem to be put in the session in an org.apache.myfaces.trinidadinternal.application.StateManagerImpl object $PageState. The number of these objects when the session is equal to the org.apache.myfaces.trinidad.CLIENT_STATE_MAX_TOKENS in our web.xml configuration file.

    Once all the chips are 'used', sailing around the application, one of these objects is removed from the session and (should be) garbage collected at some point. However, the recovery of this space is observed much later, after the end of the session. For this reason, what a load of test the application, we see the use of heap space gradually, increasing before causing the JVM to crash.

    Tracking the creation and destruction of our objects is done by adding instructions log in the default constructor and the finalize method (which overrides the finalize on object method). Statements by logging on the creation of objects are visible when we would expect them, but logging of the finalize method statements are seen only after the end of the session. When a garbage collection is triggered using Mission JRocket Oracle control we see the use of heap down significantly, but observe no logging calls the finalize method.

    Anyone got any ideas on why the garbage collector would not be able to recover items from sight after having been removed from the session?

    Thanks in advance.

    P.S. I found already VIEW SCOPE IS NOT RELEASE PROPERLY in ADF which is a closesly related thread, but unfortunately could not use the answers there to solve our problem. I also posted this same question on Stack Overflow (http://stackoverflow.com/questions/13380151/lifetime-of-view-scoped-objects-oracle-adf). I'll try and update the two sons if I find a solution.

    Published by: 971217 on November 14, 2012 07:08

    Hello

    I tried to reproduce the problem on JDeveloper 11 GR 2 (11.1.2.3), but after 5 minutes to go back and hard, my server does not crash. However, I did some changes to your code. You can try to replicate using the following minor change?

    Instead of
    / * Method to redirect to page two. */
    Public Sub goToPageTwo()
    {
    VR;
    {
    FacesContext.getCurrentInstance ().getExternalContext.redirect ("pageTwo.jspx");
    }
    catch (IOException e)
    {
    e.printStackTrace ();
    }
    }

    I changed it to
    public String button_action() {}
    Return "goPage1";
    }

    where "goPage1" is a case of control flow, I set on my taskflow boundless.

    Thank you

    Juan Camilo

  • OAM ObSSOCookie

    Hi Experts,

    I had an obligation to set the variables as (obssocookie jsessionid) to ensure session header and mode httponly for a web application deployed in WLS when protected with Oracle Access Manager 10 g.

    Any pointer how to set values?


    Thanks in advance

    Hello

    Add the following parameter to challenge your OAM corresponding authentication scheme.

    ssoCookie:disablehttponly; sure

    Try to access your URL with your Web server SSL port otherwise you will end up with the same login page permanently, even if the user is authenticated.
    Hope this helpful.

    Thank you
    Ajay

  • synchronization session could start the ios 10.02

    Can someone help me out here?

    I restored my phone 2 times and yet I see the same error message. "" sync session could start "I can't drag and drop songs

    Hi there tarakfrombangalore,

    Thank you for bringing your question about the issues you are experiencing syncing your iPhone to iTunes for the Community Support from Apple.  It is super convenient to sync your favorite songs on your iPhone and it does not work can get in the way that for sure.  I'm happy to help you today.

    This article refers to the various errors that you encounter, but it has some good tips:

    If you see error - 5000, - 69 and 13010 13014 when you synchronize the music in iTunes

    Best wishes!

  • "Your breathing session was interrupted."

    I get this error message. Anyone know the cause or the solution?  Thank you.

    Hello

    At a meeting of Breathe, keep still.

    If you move too much or answer a call during a session, this session will end automatically and you will not receive any credit breathing for her.

    More information:

    Use the breathe app - Apple Support

  • I've been upgraded to El Capitan and electricity went off and stopped the session.  I don't have time to continue for 12 hours.  It is the CV.  How can I cancel until I have more time?

    I've been upgraded to El Capitan and electricity went off and stopped the session.  I don't have time to continue for 12 hours.  It is the CV.  How can I cancel until I have more time?

    Hello nancy milano,.

    Thanks for this info and choosing the communities Support from Apple. I know how important is able to complete your update to El Capitan at a later date! The good news is that you can simply delete the "install Mac OS X" install app in the Applications folder on your Mac. Then you can open the Mac App Store when you're ready to update and restart the download from the tab updates or searching through the Mac App Store for El Capitan. This is a resource that explains the process of update more:

    Update of OS X El Capitan

    See you soon!

  • El capitan cannot restart, stop or close the session

    If someone has problems with the restart, shut down or close the session with El Capitan (items disappear from the screen, but then restart stops on a white screen, the cursor still moves, dock still works) I have a possible solution. It should probably be a musician for your problem but check library-> Audio-> Plugins-> HAL and make sure that you don't have a plugin file named Digidesign CoreAudio or Avid CoreAudio. These two causes this problem. Avid is the most recent files, but still incompatible with El Capitan. Delete this file. Hope that helps someone.

    Yes!  I had this problem for awhile now.  Solved!  Thank you

  • iTunes sync session could start

    running itunes 12.2.2.25 64-bit on Windows 10 Pro.  All of a sudden when I connect a device I get the error message

    that the synchronization session could start.  Had been working fine until today.  Looked online and others found the question - none of their answers had worked.  That is what it is?

    Try to solve the problems between iTunes and Apple Support third - party security software.

    TT2

  • Lock Keychain Access with session and lock screen

    Hi guys,.

    I work on a macbook (which belongs to my boss) and he asked me to give him the password for the session.

    So far, it is quite logical since it is a work computer and not mine itself. But like all mac users, I use iCloud for share my keychain and passwords, so I'm pretty reluctant to give him my password for the session.

    There must be a way to lock the Keyring when the screen is locked so that the next time I log in, and I want to use build-in password management in Safari (for example), the system wonder a password. Is there a way to achieve this?

    Thank you.

    Hello!

    Please open Keychain Access via spotlight, take your cursor on the menu bar and select Preferences in the access of the main chain, click on Legeneralonglet.

    To select Preferences Keychain Access, you can also use command-comma

    Select view status of keychain from the menu bar, a padlock icon appears in the menu at the top of the screen bar.

    To lock the screen manually click the padlock icon and choose lock screen.

    Note: when its done do not click locking ring in the menu bar at the top like pop-up will appear and prompts for the password.

    Thank you!

  • Session restore saving connection token

    When I close Firefox and open it again I am is more connected to my account to Google and it is normal (I ask that my login details not recorded). However if I use the option to restore previous session I logged into my Google accounts. Why is the connection token not expired at the close and is still valid after restoring from a previous session?

    This happens even when disabling all add-ons.

    Firefox stores cookies used in the tabs that are currently open in the file sessionstore.js as part of the saved session data, so these cookies will be restored if Firefox is closed without first closing of these tabs.

    You can set browser.sessionstore.privacy_level 2 (never) or 1 (not HTTPS) on the topic: config page to deactivate the saving of cookies via session restore in the sessionstore.js file.
    The browser.sessionstore.privacy_level_deferred pref is used when you do not reopen last session automatically via "show my windows and tabs from last time" and use the same values.

    You can open the topic: config page via the address bar.
    You can accept the warning and click on "I'll be careful" to continue.

  • If I'm out in private browsing when I restart I can not restore the previous session

    I'm newbie/PC illiterate
    THANKS Mozilla AND VOLUNTEER FOR the EXISTING

    Private browsing mode is designed to keep not take of your browsing history. This allows users to browse the internet without their history to be saved on his computer. For this reason, you cannot restore a session that was made in private browsing mode, the session is permanently deleted from the closing of Firefox.

    If you want to have the ability to restore previous sessions, please use Firefox in normal browse mode.

    For more information on the incognito of Firefox, please read this Mozilla support article:

  • where are all my logical session files stored?

    I have logic on my computer and save all my sessions on an external hard drive, but on the hard drive I don't see the icon for the session, no files or anything, as in Pro Tools theres a lot, a lot of files for each session, but not with the logic! just an icon of the session and that's it!

    I can't complain, just a logical question works / records in a different way?   It seems easier and more net like this.

    When you save a project in logic, you can save it as a file or a package.

    If you save as a folder - you can see the directory structure of the file system that you expect.

    If you save as a package, the package contains all of the assets of the project.  If you want to see these assets, highlight the package in the finder file, then right click and view the package file. This will show you the files for the session all contained in a nice package file.

  • How to recover the session using "upgrade.js"?

    My computer auto-redémarré during the night while I was sleeping, come morning time that my wife has been checking his e-mails online... which caused my previous session to be lost. I have a few important tabs that I need to recover, and fortunately I was able to find my session in one of the files 'upgrade.js '.

    I copied the file "upgrade.js" and renamed it "sessionstore.js" as mentioned elsewhere on this support forum. It did not work, do not know if my version of Firefox is incompatible with these opinions... or... If there are missing details regarding all the steps I need to take to restore the session.

    Please, I need to recover my tabs ASAP

    I don't have to pay attention to the details as soon as possible...

    Instead of putting the file renamed in the main profile folder I kept trying to make it work by placing it in the folder "sessionstore-backup".

    Problem is solved, thank you

Maybe you are looking for

  • Wake up the Qosmio F50 - 10G system mode 'sleep' and boots account locked window

    Why when the laptop is put to sleep and left for a while, flashing light and stops when you press the power button / laptop will wake up showing the BIOS screen then boots in the window account locked? Why I get this is event viewer? Source ACPIThe e

  • Can not activate ReadyCLOUD on my 516 running 6.5

    Decided I would try ReadyCLOUD after hearing news of the change around 6.5. But when I connect with my MyNetgear on the NAS login, it turns a little and responds simply with: "Impossible to attach the device to ReadyCLOUD. Your device may be misconfi

  • Mute witness keyboard stays on

    Hello: Pavilion DV7-4270us Windows 7 64 bit The mute button on the keyboard remains orange/red all the time, even if the sound is not muted. This seemed to happen around the time I installed a replacement hard drive. Any suggestions to fix this? Than

  • A problem with Windows Server 2008, Enterprise Edition

    Hi, I have a problem with ad on windows server 2008 Enterprise that when I try to install active domain services directory for me this message appear: http://img826.imageshack.us/img826/7508/39552832073804633241230.jpg Notice: I'm sure that password

  • Vista - Error Codes: 643 and 646 (cannot install updates)

    A few months ago, I started getting a message when I tried to stop that I had to install 3 updates first.  The problem is installation has failed each time and the message "install 3 downloads" has been causing a delay important whenever I stopped wh