function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Rajeev_BangRajeev_Bang 

Cookie name and value cannot exceed 4,096 bytes.

Hi,

I am getting below error message:
Cookie name and value cannot exceed 4,096 bytes.
Error is in expression '{!refresh}' in page dmincomingtab: Class.DMIncomingTabController.saveFilters: line 368, column 1
Class.DMIncomingTabController.refresh: line 196, column 1



Line:368 : cookies.put('dm_codingqueue_tab', new Cookie('dm_codingqueue_tab', EncodingUtil.base64Encode(Blob.valueOf(statuses + ';' + agencies)), null, 60 * 60 * 24 * 30 * 12, false));

Can have any solution or alternet solution??