Bribing the API with virtual cookies...
i re-open this ticket from previous ticket https://github.com/n8n-io/n8n/issues/18270 everytime i refresh my website, the sessionId has new value, even i have fixed the value ` '; const FIXED = '5123f177-df4b-4c0b-b2a1-645432140313';
localStorage.removeItem('n8n-chat/sessionId');
localStorage.setItem('n8n-chat/sessionId', FIXED);
createChat({
webhookUrl: 'https://..../chat',
allowFileUploads: true,
allowedFilesMimeTypes: 'image/*',
chatSessionKey: 'sessionId',
loadPreviousSession: true,
});
</script>`
localstorage n8n-chat/sessionId should not change across page reloads when loadPreviousSession is true.
N/A
Windows 11
1.113.1
N/A
SQLite (default)
main (default)
self hosted