Skip to Content
author's profile photo Former Member
Former Member

2 WDP projects sharing same session or request object passed

We are planning to create a new webdynpro project without UME login. This project mainly is to be called by external application for example a VB application. What this project going to do is to use the getRequestParameter() method to get the Http Header Info which posted by the VB application, then use the webdynpro interface controller to redirect the request object to our main Application which is with the UME login. Can the two projects share the same session or can the request object passed to pur main project. Can this be done?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jan 05, 2005 at 09:11 AM

    Hi Yew

    It would be better that you use a servlet instead of a web dynpro app for the VB app to call. This way you have the liberty to use most of the servlet apis.

    As for redirection to a web dynpro app which has authentication turned on , only way you could log into the target web dynpro app is by supplying both the userid and password . I think suppying j_user and j_password along with some other parameters together with their values in the HTTP post should allow you to log into the application.

    Regards

    Pran

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 05, 2005 at 09:16 AM

    Hi,

    By <b>default</b> both of the project will share the same session. It means that as long as you use the same browser window and not invalidating session explicitly you are in the same session. Moreover, you can continue with this session from different browser windows (or other http clients) by simply copying all the request parameters and cookies from one client session to another.

    Hope it helps.

    Victor.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Pran,

      It can be useful because you can pass the http request parameters from guest session to authenticated one. To make this it is better to use servlets as you pointed out. I think that this is what Yew meant in his question, but I can be wrong as well 😊

      Regards,

      Victor.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.