What is the session token and how can i get it?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-04-2018 07:00 AM
I tried to get the session token with the gs.getSession ().getSessionToken (); function, but it return Undefined value. I need the session token value to send to a webservice and validate the user session that is try comunicate and give him a access key to can comunicate.
Labels:
- Labels:
-
Scripting and Coding
2 REPLIES 2

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-04-2018 02:46 PM
Are you running this in a scope?
My notes on it say running what you wrote should give it to you.
https://blog.jacebenson.com/post/2018-05-12-g_ck/
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-16-2023 05:19 PM
Hey man, it's gs.getSessionToken()