5d33200cf63bcca9561ac00456bd7ec040b9b616
jcasper
  Tue Jun 14 00:30:19 2016 -0700
Fix for cart improperly deleting table state variables, refs #17519

diff --git src/hg/hgSession/hgSession.c src/hg/hgSession/hgSession.c
index 175f633..678e0e0 100644
--- src/hg/hgSession/hgSession.c
+++ src/hg/hgSession/hgSession.c
@@ -27,35 +27,31 @@
 #include "sessionThumbnail.h"
 #include "obscure.h"
 
 void usage()
 /* Explain usage and exit. */
 {
 errAbort(
   "hgSession - Interface with wiki login and do session saving/loading.\n"
   "usage:\n"
   "    hgSession <various CGI settings>\n"
   );
 }
 
 /* Global variables. */
 struct cart *cart;
-char *excludeVars[] = {"Submit",
-                       "submit",
-                       hgSessionTableState,
-                       hgPublicSessionsTableState,
-                       NULL};
+char *excludeVars[] = {"Submit", "submit", NULL};
 struct slName *existingSessionNames = NULL;
 
 /* Javascript to confirm that the user truly wants to delete a session. */
 #define confirmDeleteFormat "return confirm('Are you sure you want to delete ' + decodeURIComponent('%s') + '?');"
 
 char *cgiDecodeClone(char *encStr)
 /* Allocate and return a CGI-decoded copy of encStr. */
 {
 size_t len = strlen(encStr);
 char *decStr = needMem(len+1);
 cgiDecode(encStr, decStr, len);
 return decStr;
 }