Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

GetSessionID – PB Docs 2022 – PowerBuilder Library

GetSessionID – PB Docs 2022

GetSessionID

PowerScript function

Description

Gets the session ID of the current application client. The session
ID is a GUID and the maximum length is 36 characters. This function is
only used for PowerServer.

Applies to

Application
object

Syntax

Argument

Description

applicationname

The name of the application object for which you want to
get the session ID.

Return value

String.

Returns the session ID if it succeeds or an empty string (“”) if the
current application is not an installable cloud app or the session is not
created successfully.

The session ID is a GUID and the maximum length is 36
characters.

Usage

You can use this function in combination with the PowerServer Web
APIs GetAllSessions and KillSession to manage the user session(s). For
more, see Get/Kill
user sessions
.

Example

This example gets the session ID of the current application
client.


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x