Results 1 to 8 of 8
  1. #1
    kuppi is offline Member
    Join Date
    Oct 2008
    Posts
    7
    Rep Power
    0

    Default can we maintain single session from applet?

    I have a requirement where, if i click on download button, a webpage will be displayed and there i can browse and start download.
    (download will be done from client machine to server. i can access server using an ip and with respect to the server, i download a file from client machine).

    Now when i start downloading from client machine to say server X,
    and i try to do the same(download) to different server sat Y,

    The first Download (for X) will get stopped and (webpage for downloading) second server(Y)download page is displayed.


    My requirement is, if i say download from second server when first servers download is in process, it should not interupt the first download.

    I need one download per PC.

    Can some one tellme how to proceed.

  2. #2
    Norm's Avatar
    Norm is online now Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    17,556
    Rep Power
    25

    Default

    How do you start the second download? Do you open a new browser window or a new browser?
    If there are independent browsers and independent servers, how will they know about each other? Will the servers be talking to each other to be able to compare IP addresses to see if a single PC is doing a download from the two servers?

  3. #3
    kuppi is offline Member
    Join Date
    Oct 2008
    Posts
    7
    Rep Power
    0

    Default

    There was little confusion in the requirement.

    The way we access NE is same. But parallel download from 1Pc should be possible.

    Right now, if the 2nd NE opens the download window, the first NE's download process is getting interrupte(Applet is stopped automatically).


    Please help..

  4. #4
    Norm's Avatar
    Norm is online now Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    17,556
    Rep Power
    25

    Default

    if the 2nd NE opens the download window, the first NE's download process is getting interrupte
    What's NE?
    How are the 2 NEs conflicting? Or is the server getting confused with two requests from the same PC/IP address? What does the server use to keep its clients sorted out? If only IP address, then you could have a problem with 2 sessions from the same address.

  5. #5
    kuppi is offline Member
    Join Date
    Oct 2008
    Posts
    7
    Rep Power
    0

    Default

    What's NE?
    How are the 2 NEs conflicting? Or is the server getting confused with two requests from the same PC/IP address? What does the server use to keep its clients sorted out? If only IP address, then you could have a problem with 2 sessions from the same address.


    NE is NetworkElement. It is a hardware.
    Actually each NE(identified with ip address) maintains its own files.

    As you said, this might be the problem with two sessions from the same address.

    Please tell me how to overcome this.

  6. #6
    kuppi is offline Member
    Join Date
    Oct 2008
    Posts
    7
    Rep Power
    0

    Default

    NE is NetworkElement. It is a hardware.
    Actually each NE(identified with ip address) maintains its own files.

    As you said, this might be the problem with two sessions from the same address.

    Please tell me how to overcome this.

  7. #7
    kuppi is offline Member
    Join Date
    Oct 2008
    Posts
    7
    Rep Power
    0

    Default

    One more point to notice is
    If i start download (for 1st NE) in firefox, i am able to download (for 2nd NE) from IE.

    Problem comes when i try both the NEs from FireFox or IE.

  8. #8
    Norm's Avatar
    Norm is online now Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    17,556
    Rep Power
    25

    Default

    Sorry, that does not sound like a java programming problem.

Similar Threads

  1. how to maintain cookies throughout the website
    By lukky in forum JavaServer Pages (JSP) and JSTL
    Replies: 1
    Last Post: 08-28-2008, 07:33 AM
  2. Lack of memory maintain to Website
    By 82rathi.angara in forum Advanced Java
    Replies: 3
    Last Post: 06-13-2008, 02:45 PM
  3. Maintain same session in two application running on same server
    By dsiwal in forum Threads and Synchronization
    Replies: 2
    Last Post: 06-10-2008, 06:38 AM
  4. problems with applet session between to two applets
    By elizabeth in forum Java Applets
    Replies: 1
    Last Post: 08-07-2007, 03:23 PM

Posting Permissions

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