Same session in different computers

hi all,
i have a web reporting package running in sun java application server. i am keeping user object in session scope with following code in all pages which need user information like user.name, user.message, etc.
<jsp:useBean id="user" class="somepackage.User" scope="session" />
i have a front controller to check authentication and authorization. that i developed a year back. it was working fine. from that time i never concentrated on authentication and authorization because that front controller is taking care of authentication and authorization of all requests.
today i observed that if i login in one computer, who ever uses that web application next in another computer, is getting my username and my privileges.
in my first observation it is happening only to explorer. i will check firefox thoroughly tomorrow.
i am using this logic for the last few years without any problem.
the users are behind firewall/proxy server (because i can see only one ip address for all of them.)
can anyone help me in solving this? or how to proceed or how to separate the problem...etc
thanks in advance,
ksmoses.

vignesh and BalusC,
following is the code in front controller's doFilter method. is this not thread safe?
        HttpServletRequest req = (HttpServletRequest) request;
        HttpServletResponse res = (HttpServletResponse) response;
        HttpSession session = req.getSession();
        somepackage.User user;
        if(session.getAttribute("user") == null){
            user = new somepackage.User();
            session.setAttribute("user", user);
        }else{           
            user = (somepackage.User) session.getAttribute("user");
        }user object maintains all information about a user. if it is in session scope, everything should work fine.
another observation is after some time of usage, both people in different systems are getting same session.getId()
in my logout page i am using
session.invalidate();
thanks,
moses

Similar Messages

  • Does anyone have experience with having multiple editors work on the same project from different computers?

    Does anyone have experience with having multiple editors work on the same project from different computers?

    As much as I hate to admit it, YOU ARE RIGHT!
    I will tread lightly on this project.
    Thanks for the sanity check,
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • How can I use the same session for different components acroos application ?

    I am trying to include the components(chat, filesharing, whitboard) in different parts of my application. User should be able to access any of the component. We would like to have a single "ConnectSessionContainer" so that we don't see same user creating a seperate session for each component.
    Is there a better way of dealing with this other than declaring the "ConnectSessionContainer" in the main application ? Is there a way to check if we have a "ConnectSessionContainer" session already established ? Please help . Thanks.

    Thanks for the response. Let me explain what I am trying to do..
    I am trying to create components at different places(screens) of the flex application (not in the same .mxml file).
    Each time I create a component, I am using a "AdobeHSAuthenticator" and "ConnectSessionContainer" which is resulting a new participant in the room.
    For example
    screen1.mxml -
    <mx:Panel>
    <rtc:AdobeHSAuthenticator id="auth" authenticationSuccess="onAuthSuccess(event);" authenticationFailure="onAuthFailure(event);" />
    <rtc:ConnectSessionContainer id="mySession" >
            <rtc:Roster id="myRoster" width="100%" height="100%" />
            <rtc:Chat id="mychat" width="100%" height="100%" />
    </rtc:ConnectSessionContainer>
    </mx:Panel>
    screen2.mxml (in the same application) -
    <mx:Panel>
    <rtc:AdobeHSAuthenticator id="auth" authenticationSuccess="onAuthSuccess(event);" authenticationFailure="onAuthFailure(event);" />
    <rtc:ConnectSessionContainer id="mySession" >
            <rtc:SharedWhiteBoard id="wb" width="100%" height="100%" />
    </rtc:ConnectSessionContainer>
    </mx:Panel>
    Here, I open a screen1 and authenticate as UserA and when I try to open screen2 flex is considering me as another user though I am in the same application.
    1) How can I use different components which are in different flex files as a same User ?
    2) Should I place my <rtc:AdobeHSAuthenticator> and <rtc:ConnectSessionContainer> in the main application which calls the screen.mxml?
    3) What is the best way to do it ?
    Thanks for your time !

  • Same account, 2 different computers

    I have 2 computers, a Galaxy Tab and an Acer laptop, with Skype installed. I have an online number, and it willl ring only on the laptop if I have an incoming call. Do I need a separate account for each computer?

    Hi Justin Curtis,
    There could be a possibility that the there is difference in activation date.
    If you are not able to use Photoshop CC, try the below mentioned steps and share the results.
    Creative Cloud applications ask for serial number
    Activation & Deactivation Help
    Sign in, activation, or connection errors | CS5.5 and later, Acrobat DC
    Answer 2: If you wish to pay for both the subscription on the same day. You would have to make sure that the purchase date of Premier Pro cc has to be same to that of Photoshop CC.
    Answer 3: Once your trail is expired and you have  purchase it, there is no need to re-install the app.
    Please sign out and sign back in to creative cloud .
    Sign in, Sign out | Creative Cloud desktop app
    Please revert in case of further query.
    Thanks,
    Atul Saini

  • Premier CC doesn't seem to be the same on two different computers, and won't open my files

    I have CC installed on a macbook pro, and just installed it on a new iMac, and both are using Premier CC, not Premier 6, but I can't open my project on the new iMac as it says that the project was created on a newer version and won't work. This iMac is newer than the macbook, so if anything I would think that the new one is newer. The one thing I notice though is that when I open the premier program, it opens with a different opening image than the premier CC on my laptop does. So I assume that means that I'm using a different version, but how would that be since I installed them both from CC the same way. Please help so I can get working on this project again. Thanks!

    I'm having this issue also, except backwards. My new MacBook says Premiere CC is updated but it's not updated to the same version as my iMac. The MBP says its on version 8.1.0 and the iMac says 8.2.0. . . . I just installed CC on my new MBP, so this is confusing. You'd think it would be the latest version. . . Any help?

  • Same ipod two different computers

    I need to start using my laptop for my itunes and ipod. Thing is, my ipod has never been used on the laptop. Is there a way to transport all of the music from my ipod to the laptop or would I be better off getting a personal media drive for all my music? - my ipod is a fifth generation 60GB video and i use windows xp

    Is all of your music on your iPod? If so, there really isn't a need to move your music library to your laptop unless you plan to start buying music or importing CDs on the laptop.
    I use my home PC to import and buy. At work, I connect the iPod to the work PC and use iTunes to play the music, podcasts, and audiobooks directly off the iPod. It's funny that my 60GB iPod has a larger HD than my work PC\.
    On weekends, I set my iPod to sync music and podcasts. During the week, I have the iPod set on manual sync yst still automatically sync podcasts. This works great for me. YMMV.
    Looks like I will buying a MacBook Pro in October. I plan to do the same with the MBP as with my work PC as for as iTunes is concerned.
    Enjoy life!
    Steven

  • How to work with the same Object in different computers?

    I'm working with Players, and I have to pass them to the server from the client..how can I meke that?
    Thanks

    Just to clarify, the OP is talking about "javax.media.Player".
    (He previously discussed the question on a different forum).

  • Since the update yesterday my fire ftp no longer works properly its the same on 3 different computers

    After firefox updated yesterday when I open a site the folders are there when I open a folder to edit them they are ok as soon as I return and go out of a folder I get link icons and cant open or edit anything. When I log out and shut down firefox and then re start it its ok till I open any folder the the link icons come back. Any Ideas??

    please directly contact the extension developer through the means provided at the [https://addons.mozilla.org/firefox/addon/fireftp homepage] - he can likely give you more detailed guidance and is the only ones who can fix bugs or make necessary adjustments in the addon for new firefox versions. thank you...

  • Share M4P music on same computer with different windows Sessions

    According to the guidelines provided on this site, I already shared my music folder to enable different users on my single computer to access shared music files.
    I kept different libraries to provide each user a different library to keep perosnal playlists, ratings and so on.
    m4p shared files can be read by each user by clicking on the file in windows folder so I understand protection is shared on the same computer.
    But there is no way to add a shared m4p file (itune protected)to the libraries !!
    I used the "add file" or "add folder" function... only mp3, mpg, appear in the library, but no m4p.
    How can a user manage a different library on the same computer and be able to add shared m4p files to each library ?

    Jase, you said "Music sharing works across different user accounts, whether they are on the same computer or different computers", but my son will log into his account where he currently has no music. in the window on the left, we can see the other computers in the house that are on line, but there is no sign of the master account (on that same imac). i assume this is because the master account is not logged in, therefore the secondary accounts can't find the master account's music, nor can I from a remote computer ( my macbook, for example). for instance, right now from my macbook i can see my son's itunes list (on the imac) in my "share window" (even though his list is empty). he can also see my macbooks list in his "share window". he cannot see either my list on that imac, or his sisters list on that same imac. all acounts on the imac have sharing turned on, as well as "look for shared music" turned on.
    i guess the focus is on this: can the master user itunes list be made available to other users on that same computer while they are logged in as other users (and the master account is logged off, which it has to be in order for the secondary accounts to be logged in, right?) I can't think of any other way to ask this, so i hope that clarified what we have tried and what we are asking for.

  • Share music on same mac with different user accounts

    I'll try to make this clear, i have an imac with a large itunes collection. my two kids have accounts on that same mac, and want to be able to listen to what i have in my itunes. i can't see putting three copies of the same music on the same computer. is there a way to let them play what i have in my itunes account while they are logged in to their own account on the same computer?
    imac (5 years old)   Mac OS X (10.4.6)   macbook, G4 I book, I book, Imac
    macbook w/ superdrive, G4 with combo drive, I-book w/o cd burner   Mac OS X (10.4.6)   macbook, G4 I book, I book, Imac

    Jase, you said "Music sharing works across different user accounts, whether they are on the same computer or different computers", but my son will log into his account where he currently has no music. in the window on the left, we can see the other computers in the house that are on line, but there is no sign of the master account (on that same imac). i assume this is because the master account is not logged in, therefore the secondary accounts can't find the master account's music, nor can I from a remote computer ( my macbook, for example). for instance, right now from my macbook i can see my son's itunes list (on the imac) in my "share window" (even though his list is empty). he can also see my macbooks list in his "share window". he cannot see either my list on that imac, or his sisters list on that same imac. all acounts on the imac have sharing turned on, as well as "look for shared music" turned on.
    i guess the focus is on this: can the master user itunes list be made available to other users on that same computer while they are logged in as other users (and the master account is logged off, which it has to be in order for the secondary accounts to be logged in, right?) I can't think of any other way to ask this, so i hope that clarified what we have tried and what we are asking for.

  • Adobe Presenter: working from different computers transferring files

    I am using Adobe presenter. I need to work from home, so have copied my powerpoint and all its associated adobe presenter audio files from one location to another. I used to be able to do this without problems. However, it seems I'm no longer able to do it: I open powerpoint and go to the adobe presenter toolbar and try to record more audio and clearly the system shows no audio is associated with this file. Getting out of adobe presenter makes the system delete the folder with associated audio files (it seems it is not linking them properly, but still recognising them as adobe presenter audio files and deleting them as if to start recording from scratch).
    Can anyone help? how can I work on the same files from different computers without losing the data (or the links) in between? 
    Regards,
    Gabriel

    Hi folks
    One way to achieve this easily is by using DropBox. This will create a folder that you sync to the cloud. Then you create a Dropbox on the second computer and whatever you change and save is automatically updated and transferred to the other computer keeping them in sync. Works really well.
    Cheers... Rick

  • Downloading on same account, different computers

    I have two computers in my house. Different family members have their iPods registered to the different computers, but use the same Apple Account for iTunes. Do I have to download songs and videos and pay for them again if i'm downloading them on the same account but a different computer?
      Windows XP  

    Here's a few articles that might help:
    How to use multiple iPods with one computer
    http://docs.info.apple.com/article.html?artnum=300432
    Using iPod with multiple computers
    http://docs.info.apple.com/article.html?artnum=61675

  • How can I use the same "I Tunes" on two different computers

    I’m using two different kinds of Personal Computer: One is Desktop PC And the other one is Notebook .
    In each computer there are the same songs and when I get the new ones to the Desktop I want them to be placed on the Notebook or reverse.
    Where does the I Tunes save the playlist on the hard drive ?
    I have prepared a playlist on my Notebook and want it to be seen on the Desktop but I dont want to fallow the steps File > Library > Export Playlist on the Notebook. Is there any other way to make this issue instead of the mentioned steps.
    How can I see the same Playlists and songs on two different computers ( notebook and desktop) including the updating processes.
    Operating systems of the computers:
    Desktop: XP Pro
    Notebook: Vista Bussiness

    I use SyncToy 2.0 to keep two instances of my library in sync. SyncToy's preview will show which files it is about to update giving you a chance to spot unexpected changes and during the run only the changed files will be copied saving lots of time.
    As long as I sync after making updates at one instance of the library before making any updates at the other then everything works just fine. I periodically run iTunes Folder Watch to check for any orphaned entries or new items that haven't been imported into the active library. If your machines are regularly networked together this process is fairly straightfoward. Mine are in disparate locations so I use one of the (physically) small WD My Passport host powered drives which I take between home & work, synchronising at either end. This gives me three complete copies of my library so I'm covering backup & synchronisation in the same operation.
    When connecting my iPod at either location iTunes recognises itself as the "home" library for the iPod so I'm able to use the sync with selected playlists option without getting warning messages about the iPod being synced with a different library.
    tt2

  • HT4759 how do I sync my iTunes purchases made through the same Apple ID but on different computers?

    I want to sync all my iTunes music and video so I can play it on the laptop I am currently using. How do I sync them? I have made iTunes purchases from the same account using 4 different computers (2 macs and 2 pcs

    Setup then Use Home Share feature on both PCs just like you would for music
    After setting up home share on both computers, on one computer (say "A) ...from the pull down menu on the upper left of iTunes, select the Library/Apps from the other computer("B").
    Next, at the bottom left, from the pull down menu select "Items not in my library"
    Next select (highlite) all of those items not in your "A" library, then choose import from the bottom right of iTunes.
    When done importing on the first computer (import B to =>A)...go to the second computer ("B") and import from "A" to=> "B"
    Now you can sync your iPhone or iPad on the computer you normally use and all apps will sync.

  • I purchased songs from 2 different computers using itunes with the same apple id. I had 1 iPod I used for these but I just recently got an iPhone and I was wondering why it wasn't letting me put my purchased songs on my iPhone?

    I purchased songs from 2 different computers using itunes with the same apple id. I had 1 iPod I used for these but I just recently got an iPhone and I was wondering why it wasn't letting me put my purchased songs on my iPhone?

    You can transfer iTunes content from an iTunes library on a single computer only.
    Since these songs were purchased with the same iTunes account, you can download the song that is not in your iTunes library on the computer you will be syncing your iPhone with. Or you can download the song or songs direct on your iPhone.
    http://support.apple.com/kb/HT2519?viewlocale=en_US&locale=en_US

Maybe you are looking for

  • Itunes wont open! help help help!

    i just upgraded my itunes to 7.3.1. it wont open at all! i've uninstalled and reinstalled and nothing happens! it just does not open at all and i'm getting really really frustrated. what versions of itunes work with the 30gb iPod video with color (al

  • Printing in Adobe Reader 9 with HP Laserjet P1006

    I am having trouble printing in the newest version of Adobe Reader 9 on my HP LaserJet P1006. I am able to print to a shared HP LaserJet 1320, but not the P1006. I am able to print from Word 2008 and Firefox 3. This makes no sense to me. I have "rein

  • Opening document made in a newer version

    A supplier of mine has sent me an In Design document that has been made in a newer version to what I have (I have CS).  The document has possibly been made in CS4 or CS3. Is it possible to save the document so that it can be opened in an older versio

  • Wl5.1 ejb security checking is backwards

    In 5.1 for ejb security checking you seem to check for users first, then groups. ie: at weblogic.security.acl.CachingRealm.getUser(CachingRealm.java:1057) at weblogic.ejb.internal.SecurityRoleMapping.lookupPrincipal(SecurityRoleeMapping.java:236) I d

  • Re: Digital Signage issues

    Hi Everyone, I have recently created some PDF documents from MSword templates in Acrobat XI Pro . I have included signature fields as part of these documents. These signature fields seem to work perfectly fine in Acrobat XI Pro, but when I save them