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 5 of 5

Thread: multiple session browser

  1. #1
    Junior Member
    Join Date
    Jul 2014
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Post multiple session browser

    HI,

    I am facing problem with in my application i created one order and again open with update mode, now if i open another new window from IE and create new order and submit the request. the original request updated now it is taking new session values in existing order.
    we are using servlets and jsp. how to avoid multiple browser session in my application. please help me on this issue


  2. #2
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    5,517
    My Mood
    Mellow
    Thanks
    215
    Thanked 698 Times in 680 Posts

    Default Re: multiple session browser

    Thread moved.

    Welcome to the forum! Please read this topic to learn how to post code in code or highlight tags and other useful info for new members.

  3. #3
    Junior Member
    Join Date
    Jul 2014
    Location
    Canada
    Posts
    25
    My Mood
    Bored
    Thanks
    0
    Thanked 5 Times in 4 Posts

    Default Re: multiple session browser

    The session shouldn't carry over to the new browser. How are you defining a session? How are the values being sent to the backend (ie. Spring, Struts)? Is there an auth procedure being used to establish a session? If the values carry over between sessions that would seem to imply that you aren't properly creating new beans to hold form data, so I would start there.

  4. The Following User Says Thank You to DuncanS For This Useful Post:

    GregBrannon (July 18th, 2014)

  5. #4

    Default Re: multiple session browser

    Since session ID is normally maintained as a cookie according to the cookie rules, it is not surprising that one browser instance only has one cookie for a given web app. Normally people expect all tabs addressing the same web app refer to the same user / sessionID.

  6. #5
    Junior Member Jazmine Cummings's Avatar
    Join Date
    Mar 2020
    Location
    USA
    Posts
    1
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Re: multiple session browser

    I'm also having this problem. Unfortunately, I did not find her solution. But I hope they will help us here.

Similar Threads

  1. Replies: 4
    Last Post: April 27th, 2014, 06:40 AM
  2. Replies: 1
    Last Post: April 26th, 2012, 10:06 AM
  3. Replies: 6
    Last Post: December 9th, 2011, 05:53 PM
  4. Java Web Browser Term Project- I am facing multiple problem...pls help
    By tazbinur in forum What's Wrong With My Code?
    Replies: 11
    Last Post: October 8th, 2010, 09:05 AM