/* server specific headers used by participants */
/* note: svyUserServerHeaders.js contains other server specific headers used by participants */


/* dsurveyVersion (client):
    The dsurvey version (client side). 
*/
dsurveyVersionClient='SREHTTP2 29March2011'

/*  svyPostSubmitURL : 
      The basic url to use to "post" submitted data, as an XML data row, to the server
      This is used with svyPostDataHeader and svyPostSimpleHistoryHeader -- s
           svyPostSubmitURL is the request line, svyPostDataHeader is the start of the body of the post
*/
svyPostSubmitURL='/dsurvey/dsurvey.cmd';


/*  svyPostDataHeader : 
      The header to use in the body of a "post" of submitted data
      The following is appended:
                session=sessname&message=escapedDescriptiveMessage&verify=verificationString&contents=partiallyEscapedXMLDataRow
*/
svyPostDataHeader='todo=401&' ;

/*  svyPostDataSimpleHistoryHeader : 
      The header to use in the body of a a "post" of simnpleHistory data
      The following is appended:
                session=sessname&message=short_message&contents=partiallyEscapedXMLDataRow
*/
svyPostSimpleHistoryHeader='todo=4011&' ;



/* svySetSMTP
   The header to use to set/retrieve SMTP parameters
   svySetSMTPtodo is used to append a "todo=svySetSMTPtodo" after svySetSMTP
 
   Thus, the url starts with: svySetSMTP+'?todo='+svySetSMTPtodo+'&'

   The following is appended (to set values):
       smtpGateway=ipAddress&smtpName=username&smtpPwd=passwrd&defaultFrom=emailAddress
   or (to retrieve values)
       read=1
*/
svySetSMTP='/dsurvey/dsurvey'
svySetSMTPtodo='561';


/*svySMTPsend 
  Used to start the body of a post that sends an email 
  Various stuff is appended to this: session,sendFrom,sendTo,subject,message
*/
svySMTPsend='todo=560';

/* getSuspendedDescriptorURL : the basic URL to use to request the contents of a suspended session-dsecriptor file (a SUSPEND_XML file).
   Note that the session name will be added at the end of this.
*/
getSuspendedDescriptorURL='/dsurvey/dsurvey?todo=33&name=';


/* url to obtain a session specific  "client accessible" parameters files.
  !SESS! will be replaced with the session name
*/
sessionParamsURL='/dsurvey/pinfo/!SESS!/!SESS!.XML';

/* url to obtain a round specific  "client accessible" parameters files.
  !SESS! will be replaced with the session name
*/
roundParamsURL='/dsurvey/pinfo/!SESS!/_!SESS!.XML';

/* url to obtain a custom  "client accessible" parameters files.
  !SESS! will be replaced with the session name
*/
fileParamsURL='/dsurvey/pinfo/!SESS!/';


/* used by post_toServer */
postFileURL='/dsurvey/dsurvey';

