EndSSSession(QueryString, ContentString, Cookie)

Terminates the Self Service session and resets the Sage CRM cookies.

Parameters
  • QueryString. Specifies querystring for the current page. Request.Querystring.
  • ContentString. Specifies form string for the current page. Request.Form.
  • Cookie. Specifies a reference to the Sage CRM cookies object. Request.Cookies("CRM").
Examples

CRM.EndSSSession(Request.Querystring, Request.Form, Request.Cookies("CRM"));
Response.Write("The following user has been logged out: "+CRM.VisitorInfo("visi_FirstName")+" "+CRM.VisitorInfo("visi_LastName"));

Terminates the Self Service session, resets Sage CRM cookies, and displays a log out message to the user.