PrinterOn KB Powered By ePRINTit USA

SSO Configuration Sample - .NET - c06316560

This is a sample from a customer who has implemented SSO from a .NET-based program to PrinterOn.

public partial class _Default : System.Web.UI.Page


protected void Page_Load(object sender, EventArgs e)


System.Net.HttpWebRequest request = (System.Net.HttpWebRequest)System.Net.HttpWebRequest.Create("");

request.Headers.Add("REMOTE_USER", "testUser");

request.Headers.Add("REMOTE_ADDR", "addr");

System.Net.HttpWebResponse response = (System.Net.HttpWebResponse)request.GetResponse();

// System.IO.StreamReader sr = new System.IO.StreamReader(response.GetResponseStream(),


// string content = sr.ReadToEnd();

// sr.Close();






Applies to PrinterOn Enterprise 4.x and later.