Skip to Content
avatar image
Former Member

Open Appeon Web Page and Pass Credentials

Greetings All,

We have a portal that is built using Appeon.  Works great!!

I now need to create a link on another web page on our network (created using Visual Studio), call the home page of my Appeon portal and somehow pass a user id and flag (and maybe the ip address of the local machine) such that that the user is magically signed into the Appeon Portal.

There really is no secure data in the portal so I am not terribly worried about someone running off with state secrets.

Can someone kindly suggest a simple way to achieve this?

Thank you,


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Oct 20, 2015 at 08:01 PM

    you can get the user ip address at run time via an appeon call:  AppeonGetClientIp()

    You can either send the username via commandparm, or the sessionid or whatever

    from the appeon help:

    Appeon supports the CommandParm function and the command line argument in the Open event of a PowerBuilder application. These features can be applied for implementing single sign-on. The command line argument can be passed to an Appeon application in the following way: This attaches the string “index.htm?arguments” to the end of the original application URL (“index.htm” must be included in the string).

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Is the calling page on the same web server as appeon? 

      I don't know how session ids work, but if the server is the same for appeon and the other page, would the session id be the same when you moved into appeon?  Because if it is, then you could just look up the session id inside of appeon and lookup the user from the session id (you would still have to log the session id and lookup the user). 

      if that doesn't work, then you might just want to pass the calling page's session id and then lookup who the person is using the common database approach that chris is talking about in #1.