Session control with multiple web servers in IE

to understand my problem do the following:
make a page with this code:
<%
out.println("sessionID = "+session.getId());
%>
Run two (2) instance of web servers (can be a tomcat) in different ports...
open IE and access the URL: http://localhost:8080/test/mytest.jsp
see id number...
access http://localhost:8081/test/mytest.jsp
see id number...
now access http://localhost:8080/test/mytest.jsp again
and will see that IE lost the session and has a different session id.
if you make this test in Nestcape it will keep the same session id when you access the 8080 server again, and is what i want :)
anybody knows a solution to this?
in the real world, my application has a frame with a menu that runs in 8080 server port and the application that are called by this menu will run in different ports in another frame. the problems is that when a call a application in another port, with IE i lost the session from the menu that runs on port 8080. With Netscape work perfect!
somebody can help?

this seems to have to do with the handling of sessoin cookies. IE creates one cookie for every browser instance whereas Netscape creates one session cookie for all browser instanced. Linke this Netscape shares a session cookie with the whole application wheres as IE does not.
Just to make it clear: none of the both handling methodes are right or wrong. In my opinionen from the point of security, the IE solution is better.
The only workaround i see is to implement a session id your own. Store it in the session object and the session object into a session manager that can be accessed from both application.

Similar Messages

  • Session cleanup issue with multiple Application servers

    Hi ,
    I am facing a strange problem with multiple application servers. The java Webdynro session does not get cleaned up completely when user closes the browser ( without using logoff ). On re-login it gets handle of old session and then fails for consecutive view on other webdynpro iviews with an invalid session error. It again starts working with a refresh event.
    Any ideas/suggestion if you have seen something similar before ?
    Thanks and regards,
    Amit.

    Hi Amit
    It seems that issues is not server related, but caused by your client browser. I know, for example, that IE8.0 keeps user session even if two separate browser instances opened on the same client machine. IE 7.0 and lower behave differently - they are separate user sessions per browser instance.
    BR, Siarhei

  • BSPs configuration with multiple apps servers

    Hi Masters,
    This is regrarding configure ICM and BSPs on our production box with multiple application servers.
    We have our production box in a cluster environment.
    The central instance is dbciSAP and apps servers are sapaps2 thru sapaps6. The database is on shared disks. Whenever the central instance fails sapaps2 takes the control and become as dbciSAP but the main dbciSAP never become a application server when ever sapaps2 acts as dbciSAP. Since we have configured load balancing concept in production environment the users can login to system thru any application server. This is waht our environment.
    As part of our production box to SAP 4.7 upgrade from 4.6C, we are asked to configure the environment to deploy BSPs. We have successfully configured and deployed the BSPs in our DEV and QAS system  (Both are central instances with no application servers) except production box which is due in the next month.
    The process we follow to activate BSPs is as follows:
    1.Define an ICM service port in /etc/services file.
    2.Add the ICM related parameters in instance profiles.
    3.Make sure the ICM status is active in SMICM tx.
    4.Activate the BSP services in SICF as per OSS note 571484.
    Now, the question is how to configure the same ICM service and activate the BSPs since we have multiple multiple application servers.
    Subsequently What I am enquirying is:
    Do I need to define ICM service ports on each and every hosts where the application servers are running?
    Do I need to make changes to each and every instance profile of the application server?
    What are the differences in configuring ICM services on central instance and application instances?
    Appreciate any help in this regard.
    Thanks and Regards
    Murty Patchipala

    Grasshopper,
    I think what you should really read up on is the SAP WebDispatcher.  If are serious about running BSP/ICM across multiple app servers, this is the key technology:
    http://help.sap.com/saphelp_nw04/helpdata/en/42/5cfd3b0e59774ee10000000a114084/frameset.htm  This may also answer some of your questions about profile parameters.
    Other than that I can share what we did.  We did activate the ICM and services on all app servers and central instance.  The service ports of the individual servers aren't that important now because of the WebDispatcher (at least they aren't visible to the user).
    Yes we did make some of the ICM profile changes in each instance profile.  If your settings are the same, consider using the default profile.   Are their particular settings you are interested?  I will look over ours, but I don't remember any huge differences from APP server to Central Instance.

  • How to configure one TREX host with multiple index servers ?

    Hi All,
    Does anyone know how to configure TREX on the one host,
    with multiple index servers ?
    Reason for this is to make better use of resources available on the host server(4 Gig, 4 Processor, Windows2003), to improve the search performance of
    our KM content for portal users.
    I am using TREX 7 and have not been able to do this,
    despite reading the Single and Distributed install
    documentation.
    Any help would be appreciated.
    Regards,
    Andres

    Hi Andres,
    To make use of the RAM a Server provides you have to run two indexserver processes (each can then consume 2 GB);
    Proceed like this:
    1. Go to TREXdeamon.ini; check if section [indexserver2] is there (it is already provided, but not active in standard installation)
    2. In TREXdeamon.ini go to
    [daemon]
    references sections below
    programs=nameserver,preprocessor1,indexserver1,queueserver,alertserver
    and add indexserver2 here. Restart TREX; second porcess is then started; can be checked in TREX monitor in Portal as well
    3. To distribute existing indexes to the new process, start TREXadmintool and go to Index: Landscape
    Go to the last two columns and move the indexes (move master here/secondary mouse click)
    If you don't distribute the indexes the new index server process will be regarded when an new index is created.
    Hope this helps!
    cheers
    Bettina

  • Integrating BIP with multiple LDAP servers

    Hi,
    my question is very simple. In Admin->Security Configuration->Security Model section i've setted Security model combobox with LDAP value. Then i've filled all LDAP information field (for example:URL). All works. But in my rpd i 've multiple LDAP servers (multiple URL) and in the form i can insert information about only one LDAP server.
    Is it possible configure BIP with multiple LDAP servers?
    Thanks
    Giancarlo
    P.S. I'm using OBIEE 10g

    Hi,
    my question is very simple. In Admin->Security Configuration->Security Model section i've setted Security model combobox with LDAP value. Then i've filled all LDAP information field (for example:URL). All works. But in my rpd i 've multiple LDAP servers (multiple URL) and in the form i can insert information about only one LDAP server.
    Is it possible configure BIP with multiple LDAP servers?
    Thanks
    Giancarlo
    P.S. I'm using OBIEE 10g

  • Labview dashboard with other web servers, like a PLC

    Hi
    Is it possible to use labview dashboard with other web servers, like a PLC?
    Regards,
    Vadie
    Solved!
    Go to Solution.

    Vadie, 
    To have Data Dashboard communicate with a PLC you will need to have a Windows PC or NI RT Target in between the two.  I hope this image helps to illustrate this.
    Mark
    LabVIEW R&D

  • NLS_LANG setting for a client with multiple Oracle servers

    Hello!
    We have a web application which has to connect to one of the Oracle servers with different charactersets. When the NLS_LANG on the client is a single byte encoding and the server has a single byte encoding there are no problems. We have now a server with NLS_CHARACTERSET UTF8 and all special (hungarian accented) character are replaced.
    When we set the client to UTF8 the rest of servers does not work.
    What is the solution for one client and multiple servers with different encoding?
    Is there a special key in connection string?
    I tried to change the nls_lang with an alter session statement but without success.
    Regards,
    emeriqus

    NLS_LANG is not depending on the database side, it's a CLIENT setting to "let Oracle know what encoding is used on the CLIENT" so that Oracle can do the conversion from the client encoding to the database (NLS_CHARACTERSET) encoding.
    for ONE application/client the is only ONE correct NLS_LANG value, regardless of the database NLS_CHARACTERSET
    If you web application is really an UTF8 application (check with your vendor) then you can perfectly use a UTF8 client setting and a 8 bit database
    Of course, you will be limited to the database side in this case seen the 8 bit characterset does not know all the characters in UTF8
    The fact that setting the NLS_LANG to UTF8 "does not work" with your web application is simply the fact your application is not a UTF8 env.
    Setting nls_lang to UTF8 will not "magically" make your application UTF8, NLS_LANG is depending on the encoding used in the web server.
    But the first thing to ask yourself is if CURRENT data is correctly in the Oracle database.
    use SQLdeveloper to check the data, this is a "know good client" that needs no NLS configuration.
    You can download it from http://www.oracle.com/technology/products/database/sql_developer/
    If the data is displayed correctly in SQLdeveloper then you are sure it's correct in the database.
    If data is WRONG in the database then that needs to be corrected first, "trying" different client side configurations will only make matter worse (even if they make the data "look good" )
    Regards,
    Gunther
    Client side notes on mentalink:
    Note:158577.1> NLS_LANG Explained (How does Client-Server Character Conversion Work?)
    1.2 What is this NLS_LANG thing anyway?
    3.2 A detailed example of a wrong nls setup to understand what's going on.
    4.2 How can I Check the Client's NLS_LANG Setting?
    5.1 My windows sqlplus is not showing all my extended characters.
    Note:179133.1> The correct NLS_LANG in a Windows Environment
    Note:264157.1> The correct NLS_LANG setting in Unix Environments
    Note:229786.1> NLS_LANG and webservers explained.
    Note 115001.1> NLS_LANG Client Settings and JDBC Drivers
    When using Unicode start here:
    Note:788156.1> AL32UTF8 / UTF8 (Unicode) Database Character Set Implications
    Setting NLs parameters: <Note:241047.1> The Priority of NLS Parameters Explained.

  • Application Server slowdown with multiple proxy servers ?

    Our environment has our iAS boxes talking to iWS web servers which are front-ended with iPlanet Proxy servers (Proxy 3.53 I believe). We are seeing significant slowdown if we try and hit our web apps through the proxy as opposed to going directly to the web server (bypassing the proxy servers). One of our "proxy" guys recalls hearing that there is an issue with the app server's handling of sessions if requests from the same user come in to the web server (and by extension the app server) from multiple proxy servers with different ip's. Has any body ever encountered this or does any body know if the app server has an issue handling the same sessions whose requests come from different ip addresses (different proxies)?

    The proxy work with HTTP 1.0 and the webserver with HTTP 1.1.
    This difference could be the cause of your problems.
    "David Fuelling" <[email protected]> escribio en el mensaje
    news:[email protected]..
    Our environment has our iAS boxes talking to iWS web servers which are
    front-ended with iPlanet Proxy servers (Proxy 3.53 I believe). We
    are seeing significant slowdown if we try and hit our web apps through
    the proxy as opposed to going directly to the web server (bypassing
    the proxy servers). One of our "proxy" guys recalls hearing that
    there is an issue with the app server's handling of sessions if
    requests from the same user come in to the web server (and by
    extension the app server) from multiple proxy servers with different
    ip's. Has any body ever encountered this or does any body know if the
    app server has an issue handling the same sessions whose requests come
    from different ip addresses (different proxies)?
    Try our New Web Based Forum at http://softwareforum.sun.com
    Includes Access to our Product Knowledge Base!

  • Use WLS 8.1 to HttpProxyServlet to multiple web servers

    I am trying to set up an environment so my client connects to the WLS server SSL&PKI. The WLS server will then proxy to multiple other web servers so all data returned between WLS and clint is SSL.
                        -------|        |-----|-------------| apache/tomcat 8880
              Client|---------| WLS |
              -------|        |-----|-------------| apache 3443
                                  Here is the problem, I have been successful getting SSL&PKI and proxying to one to work, but not both servers. Each server runs different web server functions, this is not a cluster.
              web.xml and weblogic.xml below
              If I go to https://<WLSserver>:7002/cgi-bin
              It always goes to the second server, it seems as soon as I map a <url-pattern>/</url-pattern> whichever servlet is defined last wins.
              As added note, the client will never be able to connect to the apache and apache/tomcat server directly because the ports are blocked at the router level.
              Is what I trying to do possible? Is there another way to proxy to multiple servers so the data back to the client is always SSL?
              Thanks
              --Sam
              Weblogic.xml
              <context-root>/<context-root>
              web.xml
              <web-app>
              <servlet>
              <servlet-name>ProxyServlet1</servlet-name>
              <servlet-class>weblogic.servlet.proxy.HttpProxyServlet</servlet-class>
              <init-param>
              <param-name>redirectURL</param-name>
              <param-value>
              http://targethost1:8880/
              </param-value>
              </init-param>
              </servlet>
              <servlet-mapping>
              <servlet-name>ProxyServlet1</servlet-name>
              <url-pattern>/</url-pattern>
              </servlet-mapping>
              <servlet-mapping>
              <servlet-name>ProxyServlet1</servlet-name>
              <url-pattern>*.html</url-pattern>
              </servlet-mapping>
              <servlet-mapping>
              <servlet-name>ProxyServlet1</servlet-name>
              <url-pattern>*.htm</url-pattern>
              </servlet-mapping>
              <servlet-mapping>
              <servlet-name>ProxyServlet1</servlet-name>
              <url-pattern>*.jsp</url-pattern>
              </servlet-mapping>
              <servlet>
              <servlet-name>ProxyServlet2</servlet-name>
              <servlet-class>weblogic.servlet.proxy.HttpProxyServlet</servlet-class>
              <init-param>
              <param-name>redirectURL</param-name>
              <param-value>
              http://targethost:3443/
              </param-value>
              </init-param>
              </servlet>
              <servlet-mapping>
              <servlet-name>ProxyServlet2</servlet-name>
              <url-pattern>/</url-pattern>
              </servlet-mapping>
              <servlet-mapping>
              <servlet-name>ProxyServlet2</servlet-name>
              <url-pattern>*.html</url-pattern>
              </servlet-mapping>
              <servlet-mapping>
              <servlet-name>ProxyServlet2</servlet-name>
              <url-pattern>*.htm</url-pattern>
              </servlet-mapping>
              <servlet-mapping>
              <servlet-name>ProxyServlet2</servlet-name>
              <url-pattern>*.jsp</url-pattern>
              </servlet-mapping>
              </web-app>
              Message was edited by bea_samham at Jan 14, 2005 6:02 PM

    I was still investigating. One suggestion is to run multiple server instances, each with its own <conxext-root>/</context-root> in weblogic.xml. This should work because each managed server runs in its own JVM, so you can have multiple context-root's set to /
              I tried marking the case a answered but get javax exceptions, there must be something going on with the forum pages.
              Message was edited by bea_samham at Jan 26, 2005 3:37 PM

  • Load Balancing multiple web servers

    Hi All:
    I need to load balance 2 different web servers using sticky connections on a LocalDirector 416.
    I need to use cookie-passive mode, which of course relies on a cookie set by the web server.
    Problem: The name of the session cookie is different on each web server (IIS) and I'm not sure that I can change it.
    Question: What do I pass to the sticky command as the name of the cookie?
    Any ideas?
    craig

    fortunately the cookie are different on the 2 servers otherwise this feature would not work.
    The value you enter after the keyword cookie-passive is a 'name' and can be whatever you want (you can also leave it blank/empty).
    The LD will learn the cookie directly from the server.
    See the documentation at :
    http://www.cisco.com/univercd/cc/td/doc/product/iaabu/localdir/ldv42/421guide/42ch05.htm#xtocid8565101
    I hope this answer your question.
    Gilles.

  • SharePoint writer metadata information in a SharePoint farm with multiple WFE servers.

    I  am working on Microsoft Volume Shadow Copy Service (VSS) framework. I know that in a 3-Tier SharePoint environment the SharePoint writer metadata on WFE server gives all the information related to that farm.
    My question is -
    a) How would i get all the information related to the SharePoint farm from the SharePoint writer metadata in an environment where multiple WFE servers are configured?
    b) Is it possible that in a SharePoint farm where multiple WFE servers are deployed, SP writer of only one WFE server (Master/Main server) contains all the information about the respective SP farm servers in its metadata?

    Hi  Aaditya,
    All Writer Metadata is stored in Writer Metadata Document which is produced by writer. The backup application uses the  Writer Metadata document to get information about that writer, the data it owns,
    and how to restore that data. Once the writer produces it, the Writer Metadata Document is a read-only document to the backup application.
    The Writer Metadata Document contains three sets of data: writer identification and classification information, writer-level specifications, and component data.
    For getting Writer Metadata, you can use
    IVssBackupComponents::GetWriterMetadata method.
    For more  information, you can refer to the articles:
    http://msdn.microsoft.com/en-us/library/aa384992(v=vs.85).aspx
    http://msdn.microsoft.com/en-us/library/aa384996(v=vs.85).aspx
    http://blogs.technet.com/b/dpm/archive/2011/06/02/explaining-sharepoint-data-source-enumeration-with-data-protection-manager-2010.aspx
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • Run Admin Server with multiple Managed Servers each using different userid?

    We currently run separate WebLogic domain instances for each business application in a Unix environment. Each one is created using a unix userid unique to that application and which owns all the files and is used to run the process when that particular WebLogic instance is started up. We have run this way for a while.
    I am considering altering our approach to the one that is recommended, i.e. in our Production environment we would run a single Admin instance with numerous managed servers. One issue I'm stuck on is the fact that in our current environment, each application has a different unix userid that owns the files making up the WebLogic domain instance and that WebLogic instance is run under that userid.
    I've investigated and experimented using WebLogic 10.3 preview and WebLogic 10.0, but I haven't been able to determine what I have to do to make each managed server's files and processes belong to a different unix userid, if that is even possible.
    Is there a way, using the recommended approach, where there is a single Admin instance that has multiple managed servers whose files and processes are owned by different unique, unix userids?
    If not, how would you separate access to each of the Managed Servers so that the programmers who maintain them don't have access to Managed Servers that they are not responsible for?
    Thanks for any help or suggestions.....

    Hi:
    I played with this stuff and I found that this will work, without the Location elements:
    <IfModule mod_weblogic.c>
    MatchExpression /app1 WebLogicHost=server1|WebLogicPort=7003
    MatchExpression /app2 WebLogicHost=server2|WebLogicPort=7003
    </IfModule>
    Also this will work too, with no entries inside the IfModule element:
    <Location /app1 >
    SetHandler weblogic-handler
    WebLogicHost server1
    WebLogicPort 7003
    </Location>
    <Location /app2 >
    SetHandler weblogic-handler
    WebLogicHost server2
    WebLogicPort 7003
    </Location>

  • Broadcasting with Multiple Application Servers

    Hi, If I schedule a query broadcast to fill olap cache and I have multiple production servers which App server(s) will get the cache filled?  What ever server the broadcast job runs on?
    If anyone can give some insight it is greatly appreciated.
    Thanks,
    Ken Murray

    1. If the OLAP cache is set to main memory than the OLAP Cache only gets created on the server in which it is run? So if I have 4 servers with load balancing then it is possible for the next 3 people who run the query to not benefit from the initial OLAP Cache created.
    <i>--> Next 3 people will benefit only if they log in to the same server, if cache was created in app server 1 and next 3 login to app server 2, 3 and 4 they wont hit the cache from app server 1.</i>
    2. If I change it to BLOB than any of the query runs on any server would access the initial OLAP Cache Entry that was created?
    <i>--> Yes.</i>
    3. Where is this BLOB Cached created and made available from? The DB Server or on 1 of the APP Servers?
    <i>--> DB Server</i>
    http://help.sap.com/saphelp_nw04/helpdata/en/00/241da12ef84f40bb6ecd3ae73d8b58/content.htm
    4. If SAP can make BLOB Cache available to all servers then why couldn't they make Main Memory Cache available to all servers?
    <i>Main memory is specfic to a server like how you have RAM for your PC, this is not accessible by other system. BLOB is Database and can be accessed by multiple systems.</i>
    Thanks.

  • BW Workbook Precalculation with Multiple BW Servers

    Greetings,
    We have recently set up a Windows 2003 server with the BW Precalculation service.  We have successfully configured the precalculation service to attach to our BW Production server and it is functioning properly.  We have workbooks that are precalculated and emailed each day.
    As we develop new precalculation scenarios we would like to develop and test these in our BW Development system.  However, I cannot get the existing Precalculation service to connect to both our BW Development server and our BW Production server.  It will either attach to our BW Production server or our BW Development server but not both.
    I've tried various combinations including...
    deleting all BW calculation services from SPRO in both BW systems.
    logging onto the server where the BW precalc service is running.
    stopping the BW precalculation service
    from the server, creating the SPRO configuration in both bw servers.
    restarting the precalc service.
    the precalc service will then attach to one of the bw servers but not both.
    Does anyone know if it's possible to have a single precalculation service handle requests from multiple BW systems?  If so, could you please help me with the configuration steps? 
    Thanks in advance,
    David Eady
    Reporting Team Lead
    SI Corporation

    Thanks for the quick reply!  I upgraded the BW precalc service to SP12 but still cannot attach the service to multiple BW instances.  It will attach to one or the other but not both.    Do you have any suggestions regarding the setup/configuration steps?
    Thanks,
    David.

  • Cannot get multiple tabs with multiple web pages

    Hi, My plain vanilla firefox browser in Win 8 has stopped giving me multiple tabs when I access more than 1 web url. Before say I access 5 sites, then for each site I get 5 tabs so I can easily switch between web pages. Now they all appear under 1 tab only. Ticking the box in Tools/Options/Tabs/open new window in a new tab instead, doesn't work...very frustrating....any ideas? Many thanks

    I'm not sure I understand the change, so let me mention a few things and you can reply with comments and clarifications.
    How are you directing links to new tabs: do you use one of these methods?
    * right-click > Open Link in New Tab
    * Ctrl+left-click
    * middle-click (using a mouse scroll wheel)
    Other issues:
    * Is Firefox's tab bar not showing or behaving strangely? (Please describe in more details if applicable.)
    * If the problem is that the Windows Task Bar is not working the way it used to, check the ''last'' setting on the Tabs panel of the Options dialog: "Show tab previews in the Windows Taskbar" to see whether that is what got turned off.
    * If the problem is that Google results used to automatically open in a new tab but now they open in the same tab, you need to select "new window" in Google search preferences: https://www.google.com/preferences

Maybe you are looking for

  • Passing variant values in job_submit FM

    Hi Guys,               I am running a report in background using job_submit FM. Currently I am using Get and Set parameters to pass selection screen values. But these values are not effective when run in background. If variant is an option, how to po

  • Placing Table in a Header or Footer

    I am working on XSL version 1.1 to generate word doc for some text. I need to place a table in the Header and Footer of this document but I'm not able to achieve this by placing <fo:table> inside <fo:static-content flow-name="xsl-region-after"> of th

  • Can you write messages to IE Status Bar

    Hi is ther any API to write text to the Internet Explorer Status Bar Thanks Kasem

  • I have lost the icon for my calendar

    However, when I do a search on my iPhone, the calendar comes up.  Can anyone please tell me how to restore the icon please?

  • Inspire T10 Speakers (No sound on the right speaker)

    Hey there, I recently got a set of T10 speakers and just finished setting it up. When I connect it to my laptop or mp3 player, no sound seems to be coming out of the right speaker, only the left one. Even then, I can only get sound to come out when I