Kaynağa Gözat

remove cookie issue (#1967)

Dinh Long Nguyen 7 ay önce
ebeveyn
işleme
08c119d813

+ 1 - 3
frontend/taipy-gui/src/components/Taipy/Navigate.tsx

@@ -63,9 +63,7 @@ const Navigate = ({ to, params, tab, force }: NavigateProps) => {
                     // Handle Resource Handler Id
                     // Handle Resource Handler Id
                     const tprh = params?.tprh;
                     const tprh = params?.tprh;
                     if (tprh !== undefined) {
                     if (tprh !== undefined) {
-                        // Add a session cookie for the resource handler id
-                        document.cookie = `tprh=${tprh};path=/;`;
-                        navigate(0);
+                        return
                     }
                     }
                 }
                 }
             } else {
             } else {