CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Session

  1. #1
    Join Date
    May 2000
    Posts
    116

    Session

    Hi
    I have a servelet where i create a session using
    HttpSession session = request.getSession(true);

    From this servlet , i pass the request to a jsp .
    I m able to access the session which was created in the servlet in this jsp.i have used
    HttpSession session = request.getSession(false);


    From this jsp i give action to another jsp.
    In this jsp i dont have the objects in session which i have put in the previous page. I find that the httpsession object is different here.

    Do u have any inputs on these??

  2. #2
    Join Date
    Mar 2000
    Location
    India
    Posts
    64
    Sorry i'm not posting the answer here. I had this problem too (hope i've understood ur problem). I was using Tomcat 4.0. Which web server r U using? And it's strange that ur seeing a diff when ur connecting to a different DB. Are you SURE it's the SAME appln that ur connecting to the two DBs?
    Would be grateful if i somebody answers the original question.
    return null;

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured