Session sharing/reuse issues

Hi,
I have multiple application set-up using session sharing within the workspace.
Technically all works fine, however it does not play nice with user behaviour.
Example:
Users logs into APP_ID:100. Since he isn't authenticated yet, he provides user/pass and the APP_SESSION is authenticated.
Now if the user switches using to another application (using a link provided in application 100) he gets redirect to APP_ID:101:APP_SESSION all is fine.
The session is already authenticated, the application shares the session and the user gains access to app 101 without having to authenticate again.
All's fine!
However users don't behave they way. Instead of using an easy link in the application. They will use their own bookmark or type in the url for app 101 manually.
That way the next application is either called with f?p=101:1:[SOME OLD SESSIONID FROM BOOMARK] or f?p=101 (with no further page or session info)
In both cases instead of using the already authenticated session apex spawns a new session, which of course isn't authenticated yet thus forcing the user to authenticate and come complaining they have to login again.
Similar behaviour problems exists when the user opens a browser and tries to open both applications in each in a tab next to each other.
Both tabs fetch there own initial session id and start writing it to the same cookie each in turn invalidating the other tab's session.
These can lead to some fanatic ping pong actions. Thus it's impossible to open 2 applications sharing session in the same browser.
Is there any remedy for these situations?
Can apex be as smart as for instance first trying to resume the session stored in the cookie and only if that session is invalid, start a new session?
Thanx
apodictus

Hi,
I'll just try to answer one of your questions..
apodictus wrote:
Similar behaviour problems exists when the user opens a browser and tries to open both applications in each in a tab next to each other.
Both tabs fetch there own initial session id and start writing it to the same cookie each in turn invalidating the other tab's session.
These can lead to some fanatic ping pong actions. Thus it's impossible to open 2 applications sharing session in the same browser.
Is there any remedy for these situations?
Can apex be as smart as for instance first trying to resume the session stored in the cookie and only if that session is invalid, start a new session?The brilliant feature you want to get rid off is session sharing. Not the one you describe, but the one Microsoft implemented in IE7->
All developers have this kind of problem, so they naturally create a way to turn them off.
And when using ie you have two command line switches..
iexplore.exe -noframemerging
iexplore.exe -nomergehttp://msdn.microsoft.com/en-us/library/ee330728%28VS.85%29.aspx
I'm sure that Firefox and Chrome have a simelar set of switches/hidden settings...
or just use private browsing...
/kenny

Similar Messages

  • Cant install PSE 11 shared files issue?

    Hi - I cant seem to install PSE 11 as I keep getting shared file issues. Ive managed to work my way into the manual error log and its saying this - Any ideas please? Please go slow I am so not technical at all!
    Thanks
    *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
    Visit http://www.adobe.com/go/loganalyzer/ for more information
    *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
    *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
    START - Installer Session
    *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
    RIBS version: 3.5.8.0
    Win OS version: 6.1.1.0 64 bit Type: 1
    ::START TIMER:: [Total Timer]
    CHECK: Single instance running
    CHECK : Credentials
    Load Deployment File
    Create Required Folders
    Assuming install mode
    Looking up install source path
    Sync Media DB ...
    ::START TIMER:: [Sync Media DB]
    Pre check media db sync
    End of Pre check media db sync. Exit code: 0
    :: END TIMER :: [Sync Media DB] took 247.39 miliseconds (0.24739 seconds) DTR = 371.882 KBPS (0.363166 MBPS)
    Ready to initialize session to start with ...
    ::START TIMER:: [CreatePayloadSession]
    -------------------- BEGIN - Updating Media Sources - BEGIN --------------------
    Updated source path: C:\Users\Nina\Adobe Photoshop Elements 11\PSE 11\ElementsSTIInstaller
    Updating media info for: {0449467E-102A-4514-9F4D-91BCEE129390}
    Ignoring original data since install source is local
      Type: 0, Volume Order: 1, Media Name: Adobe Photoshop Elements 11
      Path: C:\Users\Nina\Adobe Photoshop Elements 11\PSE 11\ElementsSTIInstaller\payloads\ElementsCameraRawProfile7.0All-160512123011\Install.db
    Updating media info for: {2EBE92C3-F9D8-48B5-A32B-04FA5D1709FA}
    Ignoring original data since install source is local
      Type: 0, Volume Order: 1, Media Name: Adobe Photoshop Elements 11
      Path: C:\Users\Nina\Adobe Photoshop Elements 11\PSE 11\ElementsSTIInstaller\payloads\AdobeXMPPanelsAll\Install.db
    Updating media info for: {3A8D4A3A-5E08-4E33-8831-50CB4DC101E6}
    Ignoring original data since install source is local
      Type: 0, Volume Order: 1, Media Name: Adobe Photoshop Elements 11
      Path: C:\Users\Nina\Adobe Photoshop Elements 11\PSE 11\ElementsSTIInstaller\payloads\ElementsCameraRaw7.1All-x64\Install.db
    Updating media info for: {5A73BC84-244A-48B4-ADDB-99CE9E2DBBE7}
    Ignoring original data since install source is local
      Type: 0, Volume Order: 1, Media Name: Adobe Photoshop Elements 11
      Path: C:\Users\Nina\Adobe Photoshop Elements 11\PSE 11\ElementsSTIInstaller\payloads\ElementsCameraRaw7.1All\Install.db
    Updating media info for: {98CE8819-87AA-4814-8167-ADDDD513485F}
    Ignoring original data since install source is local
      Type: 0, Volume Order: 1, Media Name: Adobe Photoshop Elements 11
      Path: C:\Users\Nina\Adobe Photoshop Elements 11\PSE 11\ElementsSTIInstaller\payloads\PSE11STIInstaller\Install.db
    Updating media info for: {D1B83970-7269-48BE-8B0E-5120D9327E52}
    Ignoring original data since install source is local
      Type: 0, Volume Order: 1, Media Name: Adobe Photoshop Elements 11
      Path: C:\Users\Nina\Adobe Photoshop Elements 11\PSE 11\ElementsSTIInstaller\payloads\AdobeAPE3.101-mul\Install.db
    Updating media info for: {F6F5021E-0548-43C1-82CC-C5C7A6906585}
    Ignoring original data since install source is local
      Type: 0, Volume Order: 1, Media Name: Adobe Photoshop Elements 11
      Path: C:\Users\Nina\Adobe Photoshop Elements 11\PSE 11\ElementsSTIInstaller\payloads\ElementsCameraRawProfile7.0All\Install.db
    --------------------  END  - Updating Media Sources -  END  --------------------
    Supported RIBS version range: [0.0.66.0,3.5.8.0]
    [    3392] Tue Jul 02 20:12:47 2013 ERROR
    Payload {98CE8819-87AA-4814-8167-ADDDD513485F} of version: 4.0.19.0 is not supported by this version: 3.5.8.0 of RIBS
    Payload {D1B83970-7269-48BE-8B0E-5120D9327E52} of version: 4.0.19.0 is not supported by this version: 3.5.8.0 of RIBS
    Unsupported payload versions included
    [    3392] Tue Jul 02 20:12:47 2013  INFO
    :: END TIMER :: [Total Timer] took 326.856 miliseconds (0.326856 seconds) DTR = 293.707 KBPS (0.286824 MBPS)
    -------------------------------------- Summary --------------------------------------
    - 0 fatal error(s), 3 error(s), 0 warning(s)
    ERROR: Payload {98CE8819-87AA-4814-8167-ADDDD513485F} of version: 4.0.19.0 is not supported by this version: 3.5.8.0 of RIBS
    ERROR: Payload {D1B83970-7269-48BE-8B0E-5120D9327E52} of version: 4.0.19.0 is not supported by this version: 3.5.8.0 of RIBS
    ERROR: Unsupported payload versions included
    Search the same string above to find when the error occured.
    Exit Code: 21 - payloads version is not supported by installed version of RIBS
    *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
    END - Installer Session
    *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*

    I have come across this on another forum but I dont have any idea how to do this? Can someone help please?
    So resolve this TIME consuming problem, i had another look at that support page and this is what i did to fix it Thank you for your help 99jon for the link.
    Copied the elements folder to the root of the HD, then renamed the folder with the installer files contained within to c:\PSElements9Installer then ran the setup.exe as administrator and hey presto, it worked and fully completed the install grrrrr.
    Cheers people of the Digital World, ive now relieved my stress
    Was this helpful?Yes  NoSubmit
    Reply

    Mark as:
        1 posts
    11-Apr-2013
    Currently Being Moderated
    3. TangAdmin,
    11-Apr-2013 17:04   in reply to Digital Controller
    Report
        Had the same problem with PSE10 Copying it to kthe root of c and renaming it to PSElements10Installer Worked perfectly.  
    thanks to all involved
    Was this helpful?Yes  No

  • Installing PSE10 Shared technology issue on windows 8.1

    This is about the millionth time I have typed this due to the rubbish nature of this forum...ie when you type ask a question in the box it then directs you to this page so you have to type all over again!
    I am currently mega frustrated
    I have PSE 10 and put it on my new pc running windows 8.1. It all seemed to be working but today when i tried to open the photo editor it would not open. So I did as requested and uninstalled then tried to reinstall but now I have the shared technology issue mentioned in many places on the forum.
    I have tried all the fixes mentioned. i have even tried restoring the computer to a previous version but all to no avail. I am wasting my few precious editing hours trying to get the app working and I am really fed up. Can anyone please tell me whether PSE 10 works properly on window 8.1. If not I will be buying a different package

    Open Regedit and go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager
    Delete this key under Session Manager "PendingFileRenameOperations". Restart the installation and it will work fine.
    Cheers,
    Gulab Prasad
    Technology Consultant
    Blog:
    http://www.exchangeranger.com    Twitter:
      LinkedIn:
       Check out CodeTwo’s tools for Exchange admins
    Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

  • Session sharing again

    Hi all,
    A problem with a slight difference from the one just posted by vakkanti about http-session sharing.
    In our servlet/JSP application the users can of course open a new window within their browser.
    The problem is that both windows are now using the same HTTP-session because the other session has not yet been invalidated and that gives problems in the use of session variables etc.. How can I force that the the new window is using a new session? Or otherwise at least deal elegantly with this problem. It must be a well known problem I think.
    Regards,
    Ronald

    Hello Ronald,
    I do not thinnk that is a 'J2EE issue' in the sense this is the way browser reacts. When you open a new window you are in the same context in term of cookie, session, etc etc. All container will react the same way with a new opened window.
    The only way that I now to have multiple windows and different sessions is:
    - on Internet Explorer and with creatin a new process by running IE (Clicking or run command) not with the File>New window , or any links.
    Could you explain why you need multiple session in different window? What is the businness requirement of your application? (we may be able to find a work around, since the behavior your expect is not supported by browsers)
    Regards
    Tugdual Grall

  • Load balancing and session sharing

    Hi,
    in my company we have the following situation:
    We have 2 instances of the same web application on differend servers.
    An external load balancer (Alteon) routes the requests to these instances.
    The problem:
    If one instance is shutting down, all the sessions of this app are gone. These users has to login again.
    The question:
    Is it possible to avoid this?
    Is is possible to keep these session, so the users don't have to login again?
    Maybe with a kind of session sharing between these 2 instances?
    using:
    oc4j standalone - 10.1.3.1
    OS: Windows
    thank you
    Marcus

    The solution:
    Multicast IP replication is the default replication protocol used in a standalone OC4J installation
    see: http://download.oracle.com/docs/cd/B32110_01/web.1013/b28950/cluster.htm#BABBHGHJ
    -> Configuring Multicast Replication

  • Session Sharing between Webapps

              Hi everybody,
              I have read that session sharing between webapps is possible since Wls 6.1 using
              the same name
              for a cookie in the webapps.
              I have created a webapp named myPortal (for example) and a second named Navigation.
              The first webapp
              includes content of the second webapp
              After deploying the webapps in WLS and printing out the sessionid in each of the
              webapps, I found out
              that unfortionally the sessionid in the two webapps are not identical.
              My Question is: Is session sharing possible, or should I create a workaround?
              Here is my environment:
              WLS 6.1 on SUN running in developmentmode
              two webapps, deployed as .war file and/or as .ear file
              Cookie Name is configured to be identical in the two .war Files
              Regards,
              Ed
              

    Search this newsgroup for a reply post on this by me. I incorrectly went down the
              primrose path on this one, too. I was corrected by Cameron Purdy. I did a bunch of
              impirical research on this and came to the same conclusion you have come to. The spec
              doesn't require it and, in fact, says that separate webapps have separate contexts, so
              they don't share sessions, even if the cookie is the same name.
              Bill
              Eduard van den Bongard wrote:
              > Hi everybody,
              >
              > I have read that session sharing between webapps is possible since Wls 6.1 using
              > the same name
              > for a cookie in the webapps.
              > I have created a webapp named myPortal (for example) and a second named Navigation.
              > The first webapp
              > includes content of the second webapp
              > After deploying the webapps in WLS and printing out the sessionid in each of the
              > webapps, I found out
              > that unfortionally the sessionid in the two webapps are not identical.
              > My Question is: Is session sharing possible, or should I create a workaround?
              >
              > Here is my environment:
              >
              > WLS 6.1 on SUN running in developmentmode
              > two webapps, deployed as .war file and/or as .ear file
              > Cookie Name is configured to be identical in the two .war Files
              >
              > Regards,
              >
              > Ed
              

  • Elements 11, will not reinstall, shared technology issue.

    Elevents 11, will not reinstall, shared technology issue.

    Hi oktc1633,
    Also, try steps mentioned in given link:- Install rollback and Shared Technologies | Windows
    Looking forward for your support.
    Regards,
    Sarika

  • How to prevent session sharing ???

    I am getting a problem when i access my application with different logins from same machine ( same browsers ) ,
    then old login session is updating with new login session,
    how can i prevent this session sharing?
    thanks in advance

    What's probably happening is that you use file cookies (cookies are stored in your file system).
    1. You log in from browser 1 as User A. The server sets a session cookie on your file system.
    2. You continue to work from browser 1. The session cookie gets sent in every request and all is fine.
    3. Now you open another browser and log in as User B. The server sets a session cookie identifying you as User B on your file system.
    4. This overwrites the cookie that was set earlier that identified you as User A The concept is that you can have only one cookie from a server for a specific purpose (session identification in this case)
    5. When you go back to browser 1 now and access the site, the second cookie gets sent (the one that identifies you as User B) and you are logged in as User B now.
    ram.

  • Session sharing among multiple WAR files inside an EAR file

    Hi all,
    Is there a way where I can share my session object among multiple WAR files which are inside an EAR file?
    Please suggest.

    r035198x wrote:
    Some application servers (like Weblogic) allow to configure session sharing when you deploy the application.Sidenote: which is completely against the servlet spec.

  • Does Session Sharing feature provided by SAP Net Weaver application server

    Hi All,
    Session Sharing is an additional feature provided by Tomcat , Weblogic  and Web sphere application servers.
    Is this feature available in  SAP Net Weaver application server?
    Brief description on Session Sharing
    Session Sharing  specifies whether HTTP sessions are shared across multiple Web applications.
    In Weblogic this is an optional feature customizable in weblolgic-application.xml
    Sample weblogic-application.xml
    <?xml version='1.0' encoding='UTF-8'?>
    <weblogic-application xmlns="http://www.bea.com/ns/weblogic/90" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <session-descriptor>
          <persistent-store-type>replicated_if_clustered</persistent-store-type>
          <sharing-enabled>true</sharing-enabled>
    </session-descriptor>
    </weblogic-application>
    session-descriptor (Optional Element ) - Specifies a list of configuration parameters for servlet sessions.
    sharing-enabled (Optional Element ) - Specifies whether HTTP sessions are shared across multiple Web applications. Default value is false.
    Thanks in advance.
    Regard's
    Srikanth
    Edited by: Srikanth A on May 14, 2010 7:36 PM

    Hi,
    You cannot set up Garbage collection frequency. it is internally handled by Java when the Heap size is filled up.
    You can always fine tune your server to SAP recommendations.
    Note 723909 is a good starting point.
    Also other checks include that you use SAP recommended Java versions, OS patches and also that you have enough physical memory.
    Thanks & Regards,
    Vijith

  • HTTP session sharing

    Hi,
    We have a need for session sharing among the different JVMs and have been trying the application cluster functionality with zero luck. Now we are thinking of looking into coherence because by reading the documentation we came to know this is something we could accomplish it. Since being a very new on this, have anyone done this and if you have can we get some information on how to do it. We will really appreciate your help on this.
    Thanks,
    Raj

    To better understand the background of your root problem,
    1) which Application Server product are you using?
    2) the term "clustering" may mean different things to different App Server implementations. Does your reference to clustering also mean "Http Session Replication" has been specifically enabled, or that by simply clustering JVMs you expect this to happen automatically?
    3) is access to the session needed by the same web app or different web apps in the JVMs?

  • Session sharing among different web application under Oracle AS

    Hi,
    I'm looking for some information on web application session information sharing under Oracle AS10.1.3.
    any pointers are highly appreciated.
    Thanks,
    Narasimha.

    Hello,
    I see that you have duplicate your post in different forums, Session sharing among different web application under Oracle AS10.1.3.
    Regards
    Tugdual Grall

  • Session time out issue in Firefox 3.0 .

    I am using intranet application developed in .net framework 3.5. Users are authenticated via Windows Authentication in application.
    Issues in following steps;
    1) I am browsing application in one Firefox 3.0 browser. Simultaneously I am browsing some different site say google.co.uk in different instance of Firefox. Please note I am browsing google.co.uk in other Firefox browser not in different tab of same browser instance in which I am browsing my intranet application.
    2) Session time out in intranet application .
    3) I am starting new Firefox instance and try to open intranet site. I am again getting Session time out message.
    4) I closed all of Firefox browsers (2 instances)
    5) Start again a new browser and try to open intranet application.
    6) It is successfully opend.
    Now the pain is why I need to close all other Firefox browsers in case of session time out in one browser .Similar issue I was getting in IE 8 but they have feature like Open site with a new session .
    It would be nice if you can help in getting rid of this issue
    == This happened ==
    Every time Firefox opened
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; WOW64; Trident/4.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.30729; InfoPath.2; .NET CLR 3.0.30729; .NET4.0C; .NET4.0E)

    Hi Rohit,
    If you want to increase Session time : increase time in web.xml in min
    <session-config>
            <session-timeout>30</session-timeout>
        </session-config>
    and after session time out if you want to re-login to webshop then
    do following settings in XCM.
    url : http://<host>:<port>/b2b/admin/xcm/init.do
    goto -> General Application settings -> b2b -> b2bconfig.
    For reloginurl.core: value : ../init.do
    note: after session expire if your application is redirecting to https:<port>:<host>/....
    Then
    set  SSLEnabled: as false
    Restart your application
    Hope this works.
    Regards,
    Devender
    Edited by: devender on Jul 12, 2010 5:01 PM

  • Print Sharing Permission Issue???

    I am setting up print sharing with a Lexmark X5400 series printer. Workss fine on the local machine and connectivity to the share seems fine as well. When I print from any other machine (in this case Win XP) there is no error but it does not print.
    I have verified all firewall sharing settings. I found the following error in the console log?
    kCGErrorRangeCheck : Window Server communications from outside of session allowed for root and console user only
    Why would print sharing be restricte to root or console users? Is there a way around this?

    Ahhh yes! :-O
    How much/how far did you get with Sig's suggestion either here...
    http://www.ifelix.co.uk/tech/3012.html
    Or here...
    http://www.ifelix.co.uk/tech/3014.html
    ???

  • IOS 8 Family Sharing Notification Issues

    I receive "request to buy" notifications, from my daughter, on my iPad, but not on my iPhone.  If I approve, she receives the notification, but if I decline, she does not receive the denied notification.
    Anyone else having these kind of issues?
    Until iOS 8, my entire family shared an iTunes account for purchases.  I have set up Family Sharing, as the Organizer, and under my iCloud account, but it is not the shared iTunes account. I did pick the shared iTunes account under the Family Purchases section of the Family Sharing setup.  I then invited my daughter and set her iPad up to do the family sharing. She is required to ask to make purchases and it seems to work.
    Like I said at the beginning of this post, I receive a request notification on my iPad, but not my iPhone.  I checked the settings between my iPad and my iPhone and they match exactly.  I don't want to tinker around so much because I have the other posts about Family Sharing limitations and lockouts.
    I'm afraid to "convert" my son and wife to the new family sharing plan until I know for sure the rest of this system is going to work as advertised.

    Already written this entry in another post, but since many people, including me, I post it here, too, but unfortunately no solution:
    Same here. What's really strange it the following. I just recently set up family sharing, and have only received 3 requests. First time the notification of the request only turned up on my computer at work, next time only on my phone. The third time only on  my computer at home. Whenever I try to approve on any of  the computers I get stuck in a sort of loop where I enter my Apple ID. What I do is, the following. I find the notification, and click on it, get to the "info screen" where I get some info on the app and the two buttons deny and approve in the upper right corner.. I decide to approve and is prompted to enter my password, which I do. Then only thing that happens is that the dialog box disappears, taking me back to the "info screen" where I can approve but before I'm able to do anything, the dialog box prompting me  for my Apple ID comes up again. I enter the password, and so it goes until I choose "cancel" in the dialog box. I then get back to the "info screen". I've never tried to press the deny button there. The second notification that I got, the one on my phone, worked without any trouble at all. Would be nice if I could get the notification for requests number 1 and 2 (the ones I got on computer work and computer home), but I haven't found any notification on the phone for those two apps.

Maybe you are looking for