Skip to Content

Session_ID over BSP-Applications?

hi guys,

we have a bsp-application that calls other bsp-applications and uses cookies to store that data; we use anonymous users so the user-name is not unique, and as each bsp-application has a different session_id we are in trouble.....

any hints are welcome ?`what is the best solution for that?

kind regards

oliver

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • author's profile photo
    Former Member
    Aug 18, 2004 at 04:30 PM

    Are you trying to allow the person to use the BSP without a login?

    If so then look at SICF, find your BSP in the tree and look at the properties you can set the login here and thus never prompt the person to even login.

    If you want to secure the login per user you look also under SICF and you can find more information on the authentification of a BSP by looking User" target="_blank">http://help.sap.com/saphelp_webas620/helpdata/en/02/4b528f2a8d11d5991f00508b6b8b11/content.htm">User Concepts

    It's actually a fairly simple process once you get to the right spot 😉

    Add comment
    10|10000 characters needed characters exceeded

  • Aug 18, 2004 at 07:13 PM

    What I would recommend is that you first read: Determining Unique Ids for Server Side Cookies. This is a simple example I once build for chocolates. What it demonstrates is that you can just 'hard-code' many of these strings such as username and session-id.

    However, one unique bit of identification you will need. My first approach would be to just GUID_CREATE (take the 32 byte string), and response->cookie on path /. Use this string as key for the server side cookie. As long as the browser is running, you are in business.

    ++bcm

    Add comment
    10|10000 characters needed characters exceeded

    • Oliver, you must understand the basics before you can really do all of this. Which means reading the documentation. In the weblog <a href="/people/brian.mckellar/blog/2004/06/11/bsp-trouble-shooting-getting-help">Getting Help</a> (assumed read?) you should find a link onto the NetWeaver documentation. From there you must read up on what the HTTP request and response objects are. Also, look into a good web book on what cookies are. You need coding which will be about: response->set_cookie( name = 'myCookie' value = guid path ='/' ).