HttpSession Not working Help!!!!!!!!!!

          Hi
          I have in my login Servlet as
          HttpSession session = request.getSession(true);
          when i redirect to another servlet and getting the session object
          as
          HttpSession session = request.getSession(false);
          but i am getting session as null; can anybudy tell me where i
          am going wrong.
          thanks
          by
          siva.
          

          Hi Mike
          It is not working do i need to configure and xml file. My brouser
          is cooki enabled.
          "Mike Reiche" <[email protected]> wrote:
          >
          >WL gets the httpsession based on a cookie in the request.
          >But - if you hit WLS with no cookie, then a session is
          >created and a cookie is written in the response - but
          >there
          >is still no cookie in the original request.
          >
          >if you redirect with response.sendRedirect(...) it should
          >work as you want it to. If you do a 'dispatch' then it
          >will not find the session.
          >
          >Mike
          >
          >
          >"siva" <[email protected]> wrote:
          >>
          >>Hi
          >> I have in my login Servlet as
          >> HttpSession session = request.getSession(true);
          >>
          >>when i redirect to another servlet and getting the session
          >>object
          >>as
          >> HttpSession session = request.getSession(false);
          >>
          >> but i am getting session as null; can anybudy tell
          >me
          >>where i
          >>am going wrong.
          >>thanks
          >>by
          >>siva.
          >>
          >
          

Similar Messages

  • After upgrading to iOS 5 I cannot enter to mail (outlook exchange ),contact did not open, general settings - mail contact did not work.help me

    After upgrading to iOS 5 I cannot enter to mail (outlook exchange ),contact did not open, general settings - mail contact did not work.help me

    Hi,
    the settings are gone, i guess. But even worse, I cannot get the iPad2 to play Full HD thru the Apple digital AV adaptor using apps that support  (and advertise this), like AVPlayer HD. This definiteley used to work before one of the last iOS upgrades. (I am now at 5.1.1).

  • When i go in my settings on my ipod touch 3gen it says no wi-fi as in i cant connect to any wi-fi at all i tried to restore but did not work HELP PLEASE

    when i go in my settings on my ipod touch 3gen it says no wi-fi as in i cant connect to any wi-fi at all i tried to restore but did not work HELP PLEASE

    See:
    iOS: Wi-Fi or Bluetooth settings grayed out or dim
    If not successful, an appointment at the Genius Bar of an Apple store is usually in order.
    Apple Retail Store - Genius Bar

  • Panasonic .MOV files only play audio no video in Premiere Elements 11??? Not Working Help

    Panasonic .MOV files only play audio no video in Premiere Elements 11??? Not Working Help

    It all depends on the codec the file uses, Karli.
    What model of camcorder is this video coming from?
    Are you working on a Mac or a PC? Have you got the latest version of Quicktime, per the program requirements? When you started your project, did you select the settings for a DSLR at 720p? This is a vital step since it will activate the components your computer will need to work with many of these types of files.
    BY THE WAY, KARLI--
    PLEASE do not post the same question more than once on this forum! You've already got a thread going with this same question and several responses posted. It's very confusing when you post the same question a second time and start a whole new discussion.

  • My MacBook Air won't turn on? I have to dropped it but earlier in the day I got a notification about a full single drive. I have tried the ideas in the communities but its still not working, help!

    My MacBook Air won't turn on? I have to dropped it but earlier in the day I got a notification about a full single drive. I have tried the ideas in the communities but its still not working, help!

    See this article:
    http://support.apple.com/kb/ht3964
    Find the section that applies to your computer, and follow the instructions.
    Shut down the computer.
    Plug in the MagSafe power adapter to a power source, connecting it to the Mac if its not already connected.
    On the built-in keyboard, press the (left side) Shift-Control-Option keys and the power button at the same time.
    Release all the keys and the power button at the same time.
    Press the power button to turn on the computer. 
    Note: The LED on the MagSafe power adapter may change states or temporarily turn off when you reset the SMC.

  • I cant open my ipad after i turned on the voice in accessibility i have a passcode and i tried to enter my password but it not working. help me please

    i cant open my ipad after i turned on the voice in accessibility i have a passcode and i tried to enter my password but it not working. help me please..
    i updated my ipad in ios 6

    Turn off VoiceOver
    1. Press the Home button
    2. Tap Settings.
    3. Then double-tap Settings.
    4. Tap General.
    5. Then double-tap General.
    6. Use three fingers on the screen to scroll to Accessibility
    7. Tap Accessibility.
    8. Then double-tap Accessibility
    9. Tap VoiceOver
    10. Then double-tap VoiceOver.
    11. Tap "On" next to VoiceOver
    12. Then double-tap "On" to turn it off.

  • Lower volume button control not working help?

    Lower volume button control not working help?

    If you only restored from backup, restore to factory defaults/new iPod.  If you then still have the problem it is likely a hardware problem and an appointment at the Genius Bar of an Apple store is in order.

  • HP pavilion dv6 microphone not working . help please . . .

    HP pavilion dv6 microphone not working . help please . . .

    Hi,
    DV6 is a series of hundreads of models, what is yours ? To help us answer question quicker, please read this:
       http://h30434.www3.hp.com/t5/First-Time-Here-Learn-How-to/Welcome-Get-started-here/td-p/699035
    You may wat to try this first:
    1. Right click speaker icon (right hand corner)
    2. Select Microphone devices
    3. Right click Microphone
    4. Enable it
    5. Click Apply/Ok
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • After update.. i can not start the ipad, when i press agree in the terms ...it will freeze and the screen not working///help please

    after update.. i can not start the ipad, when i press agree in the terms ...it will freeze and the screen not working///help please

    What to Do When Your iPad Won't Turn On
    http://ipad.about.com/od/iPad_Troubleshooting/ss/What-To-Do-When-Your-Ipad-Wo-No t-Turn-On.htm
    iOS: Not responding or does not turn on
    http://support.apple.com/kb/TS3281
    iPad Frozen? How to Force Quit an App, Reset or Restart Your iPad
    http://ipadacademy.com/2010/11/ipad-frozen-how-to-force-quit-an-app-reset-or-res tart-your-ipad
    iPad: Basic troubleshooting
    http://support.apple.com/kb/TS3274
    iOS: Resolving update and restore alert messages
    http://support.apple.com/kb/TS1275
    iPad: Unable to update or restore
    http://support.apple.com/kb/ht4097
     Cheers, Tom

  • On my iPhone 5 camera photographed not clear. blurry pictures, autofocus does not work. help please!

    on my iPhone 5 camera photographed not clear. blurry pictures, autofocus does not work. help please!

    Could you please describe how you are trying to delete a single text message and it will not work? What are you seeing in place of the trash can icon?

  • HT201210 I can not restore my iPhone 4S itunes error says I have 29 and I put it in DFU mode and not working help please

    Hello

    I can not restore my iPhone 4S itunes error says I have 29 and I put it in DFU mode and not working help please

  • TS2755 When trying to open my mail, it opens then closes immediately, I've deleted the account and re-created it 3 times and also done a reset but still not working, help please

    When trying to open my mail, it opens then closes immediately, I've deleted the account and re-created it 3 times and also done a reset but still not working, help please

    Try closing all apps in Multitask Window
    1. Double tap the home button to bring up the multi-tasking view
    2. Swipe up on the screenshot of the app you want to exit.
    3. The app will fly off the screen

  • My iphone is not working HELP !!

    My iphone is not working HELP !!!!!!!!!!!?
    my iPhone is black and it's so hot !! and i cant open it am trying with the Home and lock button and still not working and it's very hot and it's out of the charger right now ... and still hot i tried everything not working ? ?can someone tell me what to do please
    now it's not cold at all !! it was so hot !! i plugged back to the charger and it's not working ! and i tried the BUTTON HOME and LOCK not working ?? ?any ideas ??

    Let it cool of for a while , While not charging it,  then try after while plugging it into the computer you normally use itunes with and see if itunes will recognize the phone.

  • Urgent: OSB FTP polling is not working, help!!!

    hi all,
    I am doing an onsite poc on customer site, and configuring and proxy service on OSB(11.1.1.5) using ftp , but it just not working, not picking files in the specified folder, no error message. seems it can connect and login, but just not picking the files, though I set the mask to *.*, poll interval 3 seconds. any tricky? someone can help?
    I've read all the documents abt ftp transport, and I can configure file proxy, ftp business service successfully.
    thank you very much in advanced.

    no log still, for DEBUG.
    error will throw in log only if I set the wrong user/password.
    seems it connected to the ftp server, but just not picking the files there. I don't know why. I doubted it's the problem of the path setting, but it's the same for phsical path and relative path. not working.
    help...........

  • SOMEONE PLEASE HELP ME THIS IS MY FIRST TIME DOING THIS MY IPOD IS DISABLED AND IT SAID CONNECT TO I TUNES I DID THAT AND ITS NOT WORKING HELP ME PLEASE AND THANK U

    SOMEONE PLEASE HELP ME THIS IS MY FIRST TIME DOING THIS MY IPOD IS DISABLED AND IT SAID CONNECT TO I TUNES I DID THAT AND ITS NOT WORKING HELP ME PLEASE AND THANK U

    Please turn off your caps lock.
    See http://support.apple.com/kb/HT1212.

Maybe you are looking for

  • How can you put a setting that you can only move to a next slide by clicking on the forward button?

    I am very sorry if there is somewhere already given an answer to this but can somebody help me please? When I use a space, enter or click in my quiz, they move on to the next slide without answering the previous question completely. How can I make su

  • Cannot install itunes 9.2 - bonjour service failed to start

    Like in many of the other topics, i am unable to install itunes 9.2 on my computer. I have checked (and edited if needed) exceptions in firewall etc. I have disabled said security as well. I have even uninstalled all AV. I have tried the registry cha

  • DYNPRO_SYNTAX_ERROR runtime error occurs in execution of module program

    Hi...   I have created a module pool program and screen there is no error in that . But at the time of executing thru tcode , it shows runtime error as , Runtime Errors         DYNPRO_SYNTAX_ERROR Date and Time          09.07.2008 13:48:47 Short text

  • Help in UDF

    Hi, Need ur help in creating UDF, i have source fields in Order IDOC under subsegment EDP35 of EDP01 segment. QUALZ CUSADD CUSADD_BEZ and target fields: RT RU RC ET I tried graphical maping as follows: 1) If Qualz = 001 and CUSADD exists then RT else

  • My mozilla window is not openning please give me solution

    when i click on mozilla icon anothing happen . even i uninstall the mozilla software than i download new mozilla software but when when i click on install file it also not open please give me solution for it