10d24a04f2cc45af8484f29d35899bec2e53db46
jcasper
  Fri May 27 16:29:24 2016 -0700
Initial commit of public session listing CGI hgPublicSessions and supporting changes to hgSession. refs #15312

diff --git src/hg/lib/namedSessionDb.sql src/hg/lib/namedSessionDb.sql
index e1884f8..d9e15cb 100644
--- src/hg/lib/namedSessionDb.sql
+++ src/hg/lib/namedSessionDb.sql
@@ -1,18 +1,18 @@
 # namedSessionDb.sql was originally generated by the autoSql program, which also 
 # generated namedSessionDb.c and namedSessionDb.h.  This creates the database representation of
 # an object which can be loaded and saved from RAM in a fairly 
 # automatic way.
 
 #Named user sessions.
 CREATE TABLE namedSessionDb (
     userName varchar(64) not null,	# User name (from genomewiki).
     sessionName varchar(255) not null,	# Name that user assigns to this session
     contents longblob not null,	# CGI string of var=val&... settings.
-    shared tinyint not null,	# 1 if this session may be shared with other users.
+    shared tinyint not null,	# 1 if this session may be shared with other users, 2 if added to the public listing.
     firstUse datetime not null,	# Session creation date.
     lastUse datetime not null,	# Session most-recent-usage date.
     useCount int not null,	# Number of times this session has been used.
     settings longblob not null,	# .ra-formatted metadata
               #Indices
     PRIMARY KEY(userName,sessionName)
 );