document orders.siteuser_id
authorTony Cook <tony@develop-help.com>
Mon, 7 Jan 2008 04:54:22 +0000 (04:54 +0000)
committertony <tony@45cb6cf1-00bc-42d2-bb5a-07f51df49f94>
Mon, 7 Jan 2008 04:54:22 +0000 (04:54 +0000)
schema/bse.sql
site/cgi-bin/modules/BSE/CustomBase.pm

index 6a774ccc174a8452815c5c88350c1aea4dbeff4d..a8af870c91b6c3949ae9ebec651ac2636305338e 100644 (file)
@@ -263,6 +263,8 @@ create table orders (
   billFacsimile varchar(80) not null default '',
   billEmail varchar(255) not null default '',
 
+  -- numeric id of the user who created this order, should correspond 
+  -- to the user name in userId, -1 if user was not logged on
   siteuser_id integer,
   affiliate_code varchar(40) not null default '',
 
index 5c5c1dc68156d0a06938aff6fe0f8646aa608991..d361ecd7e9c5f3881180838bfe65e0b6619dc762 100644 (file)
@@ -197,6 +197,10 @@ Called when a change is made to the site users table.
 
 Called at the beginning of the save_opts() action.
 
+=item send_session_cookie($cookie_name, $session, $sessionid)
+
+Called whenever the session cookie is set.
+
 =back
 
 =cut