Same Session from two IE browsers

I am using Internet Explorer 6 version. When i am accessing my servlets using two different IE browsers, i am getting the sessions of both the browsers with same id and data. I am not opening the 2nd browser with Ctnl + N. Also after closing the browser, the session is not getting invalidated.
So the problem is, i am not able to login with two different users from the same machine. And the user need to explicitly click the logout before closing, which i dont want.
Please provide me help in this.
thanks
naveen

Hi ,
I am facing very similar situation. I need to keep individual logical session within an user session. I hope it would be extremely helpful to me if you could send me the source code. It would help me to quickly use the methods to implement the same.
Thanks & Regards,
Girish
I've come across this in the past.
To get around this, I have created a class called
DialogueMgr.
It lets you partition the HttpSession into logical
slices or "dialogues".
Basically, under the covers it just name spaces each
attribute in the HttpSession according to the
dialogue.
For example, if you had 2 dialogues (2 logical
sessions within 1 session) and each dialogue had a
"User Name" attribute, they would be stored in the
session as name=dialogue1userName" and
name=dialogue2userName. The DialogueMgr class hides
this and manages the session for the client.
The way I implemented it, I have the following
methods:
beginDialogue()
endDialogue()
getAttribute(Object argKey)
getAttributes()
hasValidDialogue()
setAttribute(Object argKey)
If you are interested I can send some code.

Similar Messages

  • How to handle an update of the same record from two different user JSP

    how do you handle an update of the same record from two different users in JSP... if one person updates the record from one drop downs should be updated as well.. is the possible.

    I'm not sure whether I understand your question. If one user changes a record then you would like other users to see those changes. Normally those changes will be visible to other users when they refresh their browser, after the first user has committed changes to the record. I you want to be sure that the same row isn't updated at the same time by to different user, you need to configure some locking (pessimistic locking) - this depends of what technology you use. In EJB3 pessimistic locking is performed by adding a version to every entity object. If you are using ADF, the framework is able to handle either pessimistic or even optimistic locking.
    If you want the changed row to be updated in other users browsers without any user interaction by these users, you should take a look at Reverse Ajax (ex. DWR http://ajaxian.com/archives/reverse-ajax-with-dwr) - or Ajax in general. But you will never get a realtime solution, where changes is visible in other users browsers right after each record update.

  • Possible solution to avoid deadlock when two inserts happen on same table from two different machines.

    Possible solution to avoid deadlock when two inserts happen on same table from two different machines.
    Below are the details from deadlock trace.
    Deadlock encountered .... Printing deadlock information
    Wait-for graph
    NULL
    Node:1
    KEY: 8:72057594811318272 (ffffffffffff) CleanCnt:3 Mode:RangeS-S Flags: 0x1
    Grant List 2:
    Owner:0x00000013F494A980 Mode: RangeS-S Flg:0x40 Ref:0 Life:02000000 SPID:376 ECID:0 XactLockInfo: 0x000000055014F400
    SPID: 376 ECID: 0 Statement Type: INSERT Line #: 70
    Input Buf: RPC Event: Proc [Database Id = 8 Object Id = 89923542]
    Requested by:
    ResType:LockOwner Stype:'OR'Xdes:0x0000002AA53383B0 Mode: RangeI-N SPID:238 BatchID:0 ECID:0 TaskProxy:(0x00000027669B4538) Value:0x10d8d500 Cost:(0/38828)
    NULL
    Node:2
    KEY: 8:72057594811318272 (ffffffffffff) CleanCnt:3 Mode:RangeS-S Flags: 0x1
    Grant List 2:
    Owner:0x0000000B3486A780 Mode: RangeS-S Flg:0x40 Ref:0 Life:02000000 SPID:238 ECID:0 XactLockInfo: 0x0000002AA53383F0
    SPID: 238 ECID: 0 Statement Type: INSERT Line #: 70
    Input Buf: RPC Event: Proc [Database Id = 8 Object Id = 89923542]
    Requested by:
    ResType:LockOwner Stype:'OR'Xdes:0x000000055014F3C0 Mode: RangeI-N SPID:376 BatchID:0 ECID:0 TaskProxy:(0x000000080426E538) Value:0x30614e80 Cost:(0/41748)
    NULL
    Victim Resource Owner:
    ResType:LockOwner Stype:'OR'Xdes:0x0000002AA53383B0 Mode: RangeI-N SPID:238 BatchID:0 ECID:0 TaskProxy:(0x00000027669B4538) Value:0x10d8d500 Cost:(0/38828)
    deadlock-list
    deadlock victim=process5daddc8
    process-list
    process id=process5daddc8 taskpriority=0 logused=38828 waitresource=KEY: 8:72057594811318272 (ffffffffffff) waittime=2444 ownerId=2994026815 transactionname=user_transaction lasttranstarted=2014-07-25T12:46:57.347 XDES=0x2aa53383b0 lockMode=RangeI-N schedulerid=43 kpid=14156 status=suspended spid=238 sbid=0 ecid=0 priority=0 trancount=2 lastbatchstarted=2014-07-25T12:46:57.463 lastbatchcompleted=2014-07-25T12:46:57.463 clientapp=pa hostname=pa02 hostpid=1596 loginname=myuser isolationlevel=serializable (4) xactid=2994026815 currentdb=8 lockTimeout=4294967295 clientoption1=671088672 clientoption2=128056
    executionStack
    frame procname=mydb.dbo.SaveBill line=70 stmtstart=6148 stmtend=8060 sqlhandle=0x03000800d61f5c056bd3860170a300000100000000000000
    INSERT INTO [dbo].[Prod1] .....
    inputbuf
    Proc [Database Id = 8 Object Id = 89923542]
    process id=process5d84988 taskpriority=0 logused=41748 waitresource=KEY: 8:72057594811318272 (ffffffffffff) waittime=2444 ownerId=2994024748 transactionname=user_transaction lasttranstarted=2014-07-25T12:46:57.320 XDES=0x55014f3c0 lockMode=RangeI-N schedulerid=39 kpid=14292 status=suspended spid=376 sbid=0 ecid=0 priority=0 trancount=2 lastbatchstarted=2014-07-25T12:46:57.440 lastbatchcompleted=2014-07-25T12:46:57.440 clientapp=pa hostname=pa01 hostpid=1548 loginname=myuser isolationlevel=serializable (4) xactid=2994024748 currentdb=8 lockTimeout=4294967295 clientoption1=671088672 clientoption2=128056
    executionStack
    frame procname=pa.dbo.SaveBill line=70 stmtstart=6148 stmtend=8060 sqlhandle=0x03000800d61f5c056bd3860170a300000100000000000000
    INSERT INTO [dbo].[Prod1]....
    inputbuf
    Proc [Database Id = 8 Object Id = 89923542]
    resource-list
    keylock hobtid=72057594811318272 dbid=8 objectname=pa.dbo.prod1 indexname=PK_a id=lock1608ee1380 mode=RangeS-S associatedObjectId=72057594811318272
    owner-list
    owner id=process5d84988 mode=RangeS-S
    waiter-list
    waiter id=process5daddc8 mode=RangeI-N requestType=convert
    keylock hobtid=72057594811318272 dbid=8 objectname=pa.dbo.prod1 indexname=PK_a id=lock1608ee1380 mode=RangeS-S associatedObjectId=72057594811318272
    owner-list
    owner id=process5daddc8 mode=RangeS-S
    waiter-list
    waiter id=process5d84988 mode=RangeI-N requestType=convert

    Don't know. Perhaps these can help. I scanned the second link but didn't see much about Ending Deadlocks. I'd say the Fourth link probably has better information than the first three links. But maybe read them all just in case the Fourth is missing something
    one of the first three have.
    Deadlocking
    Detecting and Ending Deadlocks
    Minimizing Deadlocks
    Handling Deadlocks in SQL Server
    Google search for "SQL Deadlock"
    La vida loca

  • How to handle an update of the same record from two different user  in JSP

    how to handle an update of the same record from two different user
    how do you handle an update of the same record from two different users in JSP... if one person updates the record from one drop downs should be updated as well.. is the possible.

    Usually, if two users try to update the same row at the same time, you want the first to commit to succeed, and when the second commits, they should fail with the error that the row was being concurrently updated. They you may want to show them the new row values and give them the opportunity to merge their values with the new row values...
    How can you achieve this? Google optimistic locking.

  • Sale of same material from two different storage loactions

    hi,
    how can i configure to sale same material code from two different storage loactions?
    for eg if material code is 15000 and it is extended in two storage location A and B.My requiremnet is i want to sale from both storage loction at same time A and B both.How can i map it?
    thanks
    Nakul

    Dear Nakul Raj,
    If you want to sale same material from different storage locations it can be done.
    First raise the sales order enter the material code and quantity as a first line item and give the storage location "A" in item shipping tab.
    Then give the same material code and quantity (how much you want to send) as a second line item with storage location "B".
    Then save the document, do the delivery, the storage locations will be copied from order to delivery, if you want to change you can do so.
    Do the PGI.
    Hope it will resolve your issue.
    Please reply if any further clarifications
    Kindly try and let me know the result
    Thanks&Regards
    Raghu.k

  • Comparing same tables from two schemas

    I had already posted a similair thread on this . So, i thought i would start a new thread on this to avoid confusion
    I want to generate a report which will show the difference in data type of columns from same tables in two different schemas.
    The below query using MINUS shows the difference.
    create table SCOTT.mytab1 (empid number);
    create table HR.mytab1 (empid varchar2(34));
    SELECT   table_name, column_name, OWNER schema, data_type
    FROM     dba_tab_cols where owner = 'SCOTT'
    AND TABLE_NAME = 'MYTAB1'
    MINUS
    SELECT   table_name, column_name, OWNER schema, data_type
    FROM     dba_tab_cols where owner = 'HR'
    AND TABLE_NAME = 'MYTAB1'
    Result:
    TABLE_NAME      COLUMN_NAME     SCHEMA     DATA_TYPE
    MYTAB1          EMPID           SCOTT      NUMBERBut , since it is a report, i want to show results form both schemas who has column of different data types with same table names
    Expected output:
    TABLE_NAME      COLUMN_NAME     SCHEMA     DATA_TYPE
    MYTAB1          EMPID           SCOTT      NUMBER
    MYTAB1          EMPID           HR         VARCHAR2Anyway i could achieve this?

    Hello,
    I can explain the analytical part, it is not so hard to understand (at least in this case).
    I've created the tables with 2 columns : EMPID has different datatype, but NAME has the same datatype :
    create table SCOTT.mytab1 (empid number, name varchar2(50));
    create table HR.mytab1 (empid varchar2(34), name varchar2(50));Then I run only the subquery with the analytical part :
        SELECT   OWNER schema,table_name, column_name  , data_type,
        count(*) over (partition by table_name, column_name, data_type) c
        FROM     dba_tab_cols
        where owner in ( 'SCOTT','HR')
        AND TABLE_NAME = 'MYTAB1' ;
    SCHEMA     TABLE_NAME COLUMN_NAME DATA_TYPE           C
    SCOTT      MYTAB1     EMPID       NUMBER              1
    HR         MYTAB1     EMPID       VARCHAR2            1
    SCOTT      MYTAB1     NAME        VARCHAR2            2
    HR         MYTAB1     NAME        VARCHAR2            2This query returns all columns for MYTAB1 in the 2 schemas. The analytical function count how many rows you have for each existing group of TABLE_NAME, COLUMN_NAME, DATA_TYPE, just like a normal count(*) with a GROUP BY, but it does not change the number of rows of the result (unlike the GROUP BY function).
    As you can see in the result above, when you have columns with different datatype, the group appears once, so C=1. When the datatype is the same, the group appears twice, so C=2.
    So I have put a filter on C=1 :
    SELECT * FROM (
        SELECT   table_name, column_name, OWNER schema, data_type,
        count(*) over (partition by table_name, column_name, data_type) c
        FROM     dba_tab_cols
        where owner in ( 'SCOTT','HR')
        AND TABLE_NAME = 'MYTAB1'
    ) WHERE c=1;
    TABLE_NAME COLUMN_NAME SCHEMA     DATA_TYPE           C
    MYTAB1     EMPID       SCOTT      NUMBER              1
    MYTAB1     EMPID       HR         VARCHAR2            1You can do many things with analytical functions, but for beginning with them, you can use them when you need something with a GROUP BY, but you want to keep all rows in the result. You just have to put in the PARTITION BY clause the columns you would have used in the GROUP BY clause.
    I hope I am clear, but if not, do not hesitate to ask for more information.
    Regards,
    Sylvie

  • Question about sampling data of same device from two different sub-vi

    Hi all:
    Now I am using NI 6040E DAQ card, 1001 chasis, SCXI-1102 (32 channel AI) , SCXI-1300, SCXI-1160 16-ch realy, SCXI-1324 to implement  measurement data collecting.
    But I meet a problem, when I  run two sub-vi at same time, and sampling data from different channel the SCXI-1001 chasis. 
    (For example:    in the 1st sub-vi, the system samples data from channel 0-10. and  in the 2nd sub-vi,  the data from channel 11 should be collected)
    It seems, it is not possible,  anybody have a good idea about it.
    Best regards

    Hi Hanwei,
    All the channels in the SCXI use the same multiplexer, ADC and sample clock; that is the reason why it is not possible to run multiple applications in one SCXI module. There is a knowledge base that could be helpful in this case: Can I Use One SCXI Module in Multiple LabVIEW Applications at the Same Time? Hanwei, is there a specific reason why you have the acquisition separated into two different tasks? Is it possible to have channel 11 in the same task with the other channels?
    Regards,
    Ana P
    National Instruments
    Applications Engineer

  • Comapre 2 same channels from two different dat filea

    Hi ,
    I want to compare the wave forms of two same channels names (in my sample data which is in attachment, the same channel names are S1KNSLLE00H3DSZP) from different dat  file(S2100044 and S2100041) .
    Load the 2 dat files from navigator.
    Come to report and open two 2d axis systems to see the wave forms of two different channels ( Like in attachment result.jpg)
    I need an autosequence to do the same for all the channels for 2 dat files automatically.
    Attachments:
    cmp.zip ‏1967 KB
    result.JPG ‏158 KB

    Hi RSH,
    I appreciate you posting 2 data files and the jpg, but I'm afraid I still have lots of questions before I can advise you.  You sent 2 *.dat files which each had 1 channel in them named "Data", which is different from your email text and the jpg you posted.  Will your data sets typically have many channels in them?  Your posted *.dat files had no time channel and the "Data" channel was not a waveform channel, yet the 2 different "Data" channels were different lengths.  Do you want to plot your channels vs. the array index all the time (as is shown in your jpg)?
    Do you want to have N sheets in REPORT, one for each channel?  Why don't you want to have both "S1KNSLLE00H3DSZP" channels as curves with different colors on the same graph-- wouldn't that make it easier to compare them?
    When you drag over the data channel onto a REPORT graph, you will get a reference like "[1]/Data" or "[2]/Data", which is exactly what you want to compare the "Data" channel from 2 arbitrary data files (note that the file name does not show up in the channel references).  So it seems to me that the REPORT layout you sent a jpg of already satisfies what you're asking us to create for you.  Why do you need a script at all?
    Brad Turpin
    DIAdem Product Support Engineer
    National Instruments

  • Working on the same website from two different computers

    So I have a mac running iweb09 at work and a macbook with iweb08 on it and I would like to be able to work on the web page from both of these computers. Any suggestions or am I wishing for too much?

    So I have a mac running iweb09 at work and a macbook with iweb08 on it and I would like to be able to work on the web page from both of these computers. Any suggestions or am I wishing for too much?
    you can transfer Domain.sites2 between the two machines.
    but you should have the same iweb version on both machine. otherwise, you will run into hassle of this:
    http://discussions.apple.com/thread.jspa?messageID=9382549&#9382549

  • Syncing the same library from two computers

    If I have both computers with the same music for each library, can I somehow sync from both of them?

    As Katrina says the iPod family is designed to sync with a single library. I clone my library to a portable drive using SyncToy 2.0, a free tool from MS. I run this both at home & work so that I essentially have three identical copies of my library for backup redundacy, any of which I can use to update my iPods. I use iTunes Folder Watch occasionaly in case I've managed to download, for example, a podcast at one location but overwrite the library with a newer copy updated at the other. It can be done but you need to take considerable care...
    tt2

  • Getting same data from two diffrent tables

    Select * from events where  job_dtls_id IN (select job_dtls_id from job_details where job_no='' and consignment_id='' and carrier_reference='');
    Hello All,
    I have to retrieve job_dtls_id (query in brckets ) in which it will match the above shown criteria (job_no,consignment_id and carrier_reference).
    but the problem is job_no And consignment_id are in one table and carrier_reference is in another.
    the two table have relation on job_dtls_id.
    Do anybody have an Idea please Help.
    Thanks.

    Hi Nilesh,
    As suggested by John, having JOIN on the tables should give you the desired output and have it saved as stored procedure and invoke it from BizTalk, have a look at following post for reference: http://tech-findings.blogspot.com/2013/08/polling-data-from-sql-using-wcf-sql.html
    Maheshkumar
    S Tiwari|User
    Page|Blog|How
    to Access an Orchestration variable in Map

  • Unable to have same library from two different windows user accounts

    I recently spent about a week organizing and getting info correct on all my "millions" of songs. All of my music is in my itunes music folder, and organized.
    I went over to my wife's windows user profile, and on itunes the library was incomplete. so i used the "add folder to library" function, to update her library to include all of the songs in the itunes music folder. It worked fine. but when i went back to my windows user profile, i got the "original file could not be found" message, on the majority of my songs. as a quick fix I deleted my library and used the "add folder to library" function, to update.
    now I get the "original file could not be found" message on her library.
    the files don't move, the just are not recognized by itunes on more than one "side" of windows.
    it goes back and forth like this.
    how can i get itunes on both windows user profiles linked to the same library, or pointed in the same place?
    thanks for the help

    If I understand correctly, your library file is the good one.
    The default path in XP is
    C:\Documents and Settings\ username \My Documents\My Music\iTunes
    Try this article about multiple libraries, and see if you can open your library in her account:
    http://docs.info.apple.com/article.html?path=iTunesWin/7.6/en/15502.html
    You will need to brwose to the path in your account. She needs enough windows privileges to read/write it.
    She'll need full access if you're on Vista, and it will be a sightly different path.

  • Same page from two different pages

    Here is my question.
    I have page P1 and page P2. There is a table on Page1 with 10 rows, so there is a next and previous buttons along with it. Now I have a link on Page P2, Clicking that link it should go to P1, well that is easy, but what I wanted is when I click the link I need to show a filtered table.
    How do I in corporate the knowledge on P2 Bean, that it now needs to show the filtered list not complete list
    thanks

    Baluc,
    Do u mean like this?, can you set the property on P1 bean ? when you are on P2 page. So I believe P1 bean is created and it uses the same bean when Page P1 is shown ?. I will try this but was curious to know the answer.
    <h:form>
    <h:commandLink value="Go To Page P1" action="#{P2.action}">
    <f:setPropertyActionListener target="#{P1Bean.propertyName1}" value="propertyValue1" />
    <f:setPropertyActionListener target="#{P1Bean.propertyName2}" value="propertyValue2" />
    </h:commandLink>
    </h:form>

  • How to edit footage in the same sequence from two different cameras:  1) Standard Def 4:3 aspect ratio, and 2) Standard Def shot 16:9, anamorphic?

    What can I say.  We blew the shoot.  His high-end Sony camera - std def at 4:3 aspect ratio.
    My camera - the little Panasonic DVX100, set to anamorphic, so 16:9 aspect ratio.
    I have to edit this footage together in the same sequence.  Obviously, I'm getting prompts to change the sequence settings every time I try to move footage onto the timeline.
    Alternatively, would someone just thunk me in the head. 
    I'm sad about this.  I can't believe it happened.

    What is the ouput - standard 4:3 DV?
    If so, put a clip of the 4:3 material into a timeline and accept the offer to conform the timeline to that material. Then, any of the 16:9 material will be part of that settings - however - you will want to go into the DISTORT settings in the Viewer to alter the material so that the image extends beyond the sides (aka a center cut). It has been a long time since I've done this but I remember the number is something like 33 (or -33).
    x

  • I have accidentally downloaded the same song from two albums.

    ...  They have not finished downloading, how do I cancel one? 

    iTunes Customer Service Contact - http://www.apple.com/support/itunes/contact.html > Get iTunes support via Express Lane > iTunes > iTunes Store - Apple states all sales are final, but you can always ask nicely.

Maybe you are looking for

  • Create Hyperlinks that open in new tab or window?!

    Hello, Ok, so, this has been asked other times for many versions of InDesign and most common response is to do it in Acrobat Pro. WHY?!!!! I couldn't even easily figure out how to do it there and frankly, don't want to. That seems so backwards and te

  • [solved] Synaptics Touchpad works in GDM but not in Gnome Session

    Hey, i just installed arch x86_64 to a Amilo Pa 3553 Notebook with synaptics touchpad driver. It's working in gdm perfectly but after login i cannot click, wether tabbing nor klicking. But i can move the coursor. Touchpad is recognized in Xorg.log wi

  • Swedish characters....

    I am having serious problems with swedish characters under Oracle 8.0.5 for Linux. I have selected the WE8DEC charset for my ORCL instance and the NLS_TERRITORY AND NLS_LANGUAGE are properly set in the initORCL.ora file, but i just cant get the chara

  • Signed Applet Trouble.

    hi, Lately have been working on signing of applets, now by default applets are not allowed to access system resources, i.e files, etc, for obvious reasons. So if one has to access these resources through applet, the applet needs to be signed. Now i h

  • Timeout Error When Trying to View a History

    In Source Control 3, my entire department gets a timeout expired error whenever we try to view a file's history. Below is the stack trace: Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IM