Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2009
    Rep Power

    Question session Management betwwen two application

    There are two applications one is running on .net and other is running on J2EE(websphere). On the .net application I have to create a link which then redirects me to J2EE application.
    Here the main issue is that once the J2EE application start working (by clicking on link), the other application (.net application)from which it is accessed should not session timed out .AND
    If the user does the logout from .net application he should also be prompt to logout from J2EE application.In the nut shell J2EE application session will depend on .net applicaion session.

  2. #2
    Thennarasu's Avatar
    Thennarasu is offline Member
    Join Date
    Jan 2009
    Chennai, Tamilnadu
    Rep Power


    Whenever u go between asp page and jsp page check value of session variable...and let it be a redirecting page

  3. #3
    Steve11235's Avatar
    Steve11235 is offline Senior Member
    Join Date
    Dec 2008
    Rep Power


    This is not simple if your .NET Web server is part of a server farm. If you are dealing with just two servers, you could try this approach.

    First, don't redirect to the J2EE server, even if it is running a Web application server. Trying to synchronize two Web servers that way is going to create problems.

    Have the .NET server contact the Websphere server. I don't know what you mean by start running an application, but the Websphere application should be stateless, as all Web applications are.

    Use a Web service to communicate from .NET to Websphere. Websphere will send the result back to .NET, which will format the result and send it to the client. Remember that Web services have no session state at all.

    If the Websphere application is already written as a servlet, then use a POST request from the .NET application and read back the Web page created by Websphere. You can return that page as the response, since it is already fully formatted.

Similar Threads

  1. Replies: 4
    Last Post: 04-23-2009, 09:54 PM
  2. Replies: 2
    Last Post: 12-23-2008, 06:35 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. Asbru Web Content Management 6.7.3
    By Java Tip in forum Java Software
    Replies: 0
    Last Post: 04-24-2008, 06:43 PM
  5. Asbru Web Content Management 6.6
    By JavaBean in forum Java Software
    Replies: 0
    Last Post: 09-26-2007, 12:25 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