Does the Service Portal use cookies? Can this be managed in ServiceNow? If yes, how?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2022 02:30 AM
Does the Service Portal use cookies? Can this be managed in ServiceNow? If yes, how?
Labels:
- Labels:
-
Customer Service Management
1 REPLY 1

Community Alums
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2022 11:39 PM
Hi
This doc covers mostly all of it :https://docs.servicenow.com/bundle/sandiego-platform-administration/page/administer/security/referen...
putClientData(name, value);
getClientData(name);
clearClientData(name);
From a server script, call the function like this:
gs.getSession().putClientData('variable_name1', 'value1');
and then get it from the client like this:
var value = g_user.getClientData('variable_name1');
Please mark my answer as Correct & Helpful, if applicable.
Thanks
Sandeep