Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: Problem with Session maintenance in IE 8

  1. #1
    Member
    Join Date
    Sep 2010
    Posts
    32
    My Mood
    Confused
    Thanks
    9
    Thanked 0 Times in 0 Posts

    Default Problem with Session maintenance in IE 8

    I am creating a new Session in LoginAction.java while the user logs in as ,

    HttpSession session = request.getSession(true);

    Some values are being set in the session from my Login class as,

    session.setAttribute("UserId",stUserId);

    After getting logged in , I am trying to get the values set in session. I am getting the session as follows :

    HttpSession session = request.getSession(false);
    IBSSessionInfo ibssessioninfoObj = null;
    ibssessioninfoObj = (IBSSessionInfo)session.getAttribute(IBSHandleIdNames.SessionInfoName);

    The session id of the both the sessions in the above two classes are differing .

    The same code works well with internet explorer 7 but I am getting session issue with internet explorer 8 (8.0.6001.18702) . Help me to resolve it.

    Thanks.


  2. #2
    Junior Member
    Join Date
    Aug 2012
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Problem with Session maintenance in IE 8

    I am not sure, but you can try response.encodeURL(url)

Similar Threads

  1. session in jsp
    By casperl90 in forum JavaServer Pages: JSP & JSTL
    Replies: 3
    Last Post: November 2nd, 2011, 12:53 PM
  2. sql lookup table maintenance
    By research779 in forum JDBC & Databases
    Replies: 0
    Last Post: January 25th, 2011, 06:40 PM
  3. Java session problem
    By Padmaja in forum JavaServer Pages: JSP & JSTL
    Replies: 2
    Last Post: August 5th, 2009, 10:06 PM
  4. How can i put session in Javascript?
    By rajani in forum JavaServer Pages: JSP & JSTL
    Replies: 2
    Last Post: July 8th, 2009, 01:46 PM