Is it possible that get session by ID?

Hello,
I put session id into URL as a parameter.
Now the problem is, how can i get session by session ID?

The container handles session management. Tomcat allows you to write and implement your own session manager, and other containers may as well, but if you didn't specifically write your own manager, you have to rely on the container to retrieve your session for you.
By standard, the parameter that defines the session is JSESSIONID, and you can try putting this parameter in your URL, but this may not be the current session. You can compare session.getSessionId() with request.getRequestedSessionID() to see if you're working with the same Session object.

Similar Messages

  • Is it possible that a session ....

    Hi
    I have a question, which is driving me nuts. I have 2 j2ee applications (ap1 & ap2) deployed under tomcat. The ap1 has a login option, which is serviced by a servlet in ap2. If the ap2 sets a session attribute ("logged", "yes") then can a jsp page in ap1 access this attribute?
    If yes, how? If not, what is the work around? Unless I am missing something I think not.
    Thanks
    Eddy

    HttpSessions are local to the webapp and not meant to be shared.
    A work around is to use pseudosessions. Search the oreilly web site for how to implement pseudosessions.

  • MacBook Pro battery had accumulated more than a 1000 charges, and stopped functioning unexpectedly. Went and got the battery replaced. Just saw that SMC Firmware 1.6 update deals with this. Possible to get my money back?

    MacBook Pro battery had accumulated more than a 1000 charges, and stopped functioning unexpectedly. Went and got the battery replaced. Just saw that SMC Firmware 1.6 update deals with this. Possible to get my money back?

    The firmware update corrects an error that may occur, however the techs would have checked the condition of the battery prior to installing a new one.  If the battery was questionable, the firmware update was really not too important.
    You can check the battery condition by going to the apple, left side of the menu bar, About This Mac, More Info, System Report, Hardware, Power and see what it says about Cycle Count, Condition, Capacity: Condition anything but Normal needs to be checked and may need to be replaced.
    The cycle count of 1,000 charge cycles is the typical life of a Lithium-Ion battery, the point at which the capacity drops to 80% of the as built capacity.

  • After updating my I pad, I have problems with getting new apps. After filling in my Apple Id, I fill in my  3 secret questions. But than I get à Message that this session had to break of, without results.

    Alter updating my IPad, I have problems getting new apps. After filling  in my Apple Id, and answer my 3secret questions, I get THE answer that this session had to be ended without results.

    Wow ! I got it running again ! :-)
    I called support and got helped by a very friendly guy:
    We tried serveral things, what worked for me was to reset my cookies:
    - Close all apps by doubleclicking the "home" button - you see all running apps in the lower part of the screen. Then click an hold the first icon until it starts "shaking". Klick the small minus, proceed like that until the row is empty. 
    - Go in to the control center (don't know what it's called in english, in swedish it's "Inställningar")
    - Klick the tab "Safari"
    - Klick on Clear cookies and data ("rensa cookies och data")
    - Close the control center and start App store
    If you now try to download an app you still get the request for the three safety-questions, but when filling them in it works and you can proceed after that. The questions will not turn upp again afterwards...
    Good Luck !
    Other things we tried was:
    - disconnecting the wifi and restarting it
    - log out from app-store (in control center, tab "itunes and appstore")

  • HT204088 Every time I try to look at my purchase history on my account, I keep getting a message saying that my session has timed out. How do I correct this?

    Every time I try to look at my purchase history on my account, I keep getting a message saying that my session has timed out. How do I fix this problem?

    Same thing happens to me as well. Might be a community wide problem, I tried entering my information on multiple devices and it doesn't wanna work, it gives me the same error when trying to purchase it's a good day to die hard

  • HT1491 Hi - I am trying to change my payment information but I keep getting the message that my session has timed out. I have turned my phone off but that doesn't seem to help.

    Hi - I am trying to change my payment information but I keep getting the message that my session has timed out. I have turned my phone off but that doesn't seem to help.
    Does anyone know what I need to do?
    Thanks. :-)

    What are the exact error codes that are appearing when trying to update?
    Have the steps for troubleshooting those errors as listed in the article from which the question was posted been tried?

  • HT2736 I'm trying to send a tune as a gift but, every time I fill out the info, and press "continue", I get a message that my session has "timed out".

    I'm trying to send a tune as a gift but, every time I fill out the info, and press "continue", I get a message that my session has "timed out". I didn't take me over a minute to fill out the form. How fast does one have to be!?

    Well, first, why are you running such ancient versions of Firefox as 3.6? i would immediately update to Firefox 15.0.1 as Firefox 3.6.28 is no longer supported and is critically insecure.
    As for the dreamweaver thing, I'm not sure this is a Firefox issue, so I'd check again after updating Firefox.

  • I was in a conversation with a colleague and a text (identical) came to both of our phones, when he researched it, it said it was blocked and I thought I might see where it came from through my phone. Is it possible to get a spam like that to our phones

    I was in a conversation with a colleague and a text (identical) came to both of our phones, when he researched it, it said it was blocked and I thought I might see where it came from through my phone. Is it possible to get a spam like that to our phones at the same time.If the text came to my number marked from him, it could only have been from him?. Is there a possibility that someone else sent it to both of us at the same time?

    Yes, it could be spam. I get spam text from time to time. Yes, you both could have gotten the same spam at the same time. Spammers re sending out thousands and thousands of messages.

  • HT203167 So my iPhone was stolen and most of the music on there was on a computer that I don't have anymore. Is it possible to get those songs back from my stolen phone or are they gone?

    So my iPhone was stolen and most of the music on there was on a computer that I don't have anymore. Is it possible to get those songs back from my stolen phone or are they gone?

    For iTunes purchased music you might be able to re-download it via the Purchased link under Quicklinks on the right-hand side of the iTunes store homepage on your computer's iTunes. For music from other sources (e.g. copied from CDs) then unless you had subscribed to iTunes Match and uploaded it to it from your computer then no, it won't be stored anywhere

  • Hii all, I just bought an used iphone 5c from an user and only after a few weeks realised that it got activation locked. He might be unaware of that. Is it possible to get back to him and unlock the device for me as i have not contacts with him presently.

    Hii all, I just bought an used iphone 5c from an user and only after a few weeks realised that it got activation locked. He might be unaware of that. Is it possible to get back to him and unlock the device for me as i have not contacts with him presently.

    Well first you need to sync your iPhone 4 with your Mac/PC so that it will transfer all your music, apps, podcasts, etc. Then sync your iPod Touch and the media you selected during the sync should be there on your iPhone. If you have difficulty in transferring media from iPhone to your computer, try softwares like TransCopy. They will help in transferring data from your iphone to your computer. Dont forget to check that all the transferred data is in the iTunes media folder so that the iTunes can locate the files. Link to Transcopy software :
    http://www.copytrans.net/copytrans.php

  • Is it possible to get a refund for a game that is not functioning anymore?

    Hi,
    I recently bought a few bonus packs for a game called Valor that is not functioning since this Monday. I tried to contact their support but the only response I received so far was a macro message that in short explains that their servers are offline and they work on the issue. Three days later their status update still gives no ETA when eventually the service will be restored and I'm getting afraid that while waiting for them to fix the issue I might loose my legal right of refund. How can I proceed in that case?
    Regards,
    Martin

    There's no defined time frame for asking for a refund since the iTunes Store has no refund policy; the official statement is that all sales are final. Any request for a refund is on a case-by-case basis and granted as an exception to policy, not a guarantee. I'd suggest waiting a couple more days and see if the problems are corrected by the developer. If not, then go here:
    http://www.apple.com/support/itunes/contact/
    and follow the instructions to report the issue to the iTunes Store. It's possible that they will make an exception for you and grant a refund.
    Regards.

  • Hi, recently I have been making a list of songs and now that I have all of the songs that I want my iTunes is telling me to answer security questions that I forget the answers to, is it possible to get rid if this?

    Hi, recently I have been making a list of songs and now that I have all of the songs that I want my iTunes is telling me to answer security questions that I forget the answers to, is it possible to get rid if this?

    Damian_2087 wrote:
    ... I forget the answers... is it possible to get rid if this?
    No.
    Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact

  • Is it possible to get hacked by pressing on a link in a email that i got and am pretty sure was a hacker?

    got an email from what looked like it was pay pal telling me that my payment to such and such has gone thru only prob was i didn't buy anything .. so i clicked on the item description to see what it was thinking maybe my husband got something... turns out he hasn't so i checked my pay pal a/c which seems to be fine .. no such invoice exists... so my question is ... did i open myself to a hacker by opening the link ??? how can i check my iMac ??
    thanks

    Your iMac is pretty safe from Apple's Security as the experts here will tell you. However it is possible to get malware etc. but very unlikely. I have got similar e-mails from pay pal, UPS, Credit cards ( even got one from ez-paid tolls) etc. Be sure to never give them any personal information. Don't click on any attachment or open the emails for 100% security from these so call legal outfits. Always go direct to pay pal or others web site and sign in to check your account. These things are usually phishing for personal info and will not affect your iMac. If you had a Windows Machine you may very well get something from virus to malware. Of course we could all have troubles from the this stuff but your iMac is very safe. I have never gotten anything.

  • Is it possible that a certain membership didnt get renewed after buying it from a location? for inst

    is it possible that a certain membership didnt get renewed after buying it from a location? for instance if my code isn't being redeemed is it possible that my code wasn't activated by mistake?

    i noticed this as a bug in iTunes. make sure the correct file is selected in the preferences menus. It does not have to be the default location directiory as Vazandrew stated. your iTunes music library can be anywhere you want it. i have mine on an external cuz i'm a dj and have over 80,000 songs.
    once you select/verify the location of your music library, simply drag the folder into the left panel in iTunes from a finder window. iTunes does not automatically add the items like it use to for some reason.

  • Is that possible to get data from the red trace in this BMP file

    I have an instrument, which only export image file. I want use labview to replot it and do some analysis. The image file is like attachment. Is that possible to get data from the red  trace in this BMP file via labview vis?
    Attachments:
    coax312.bmp ‏4741 KB

    I looks to me that 515 pixels represents 200 meters, so multiply the
    x-values by 0.3885 meters/pixel to get the true x-values.  I don't
    have enough information to scale the y-axis.
    Randall Pursley
    Attachments:
    Compute from BMP.vi ‏66 KB

Maybe you are looking for