title: Convert Html to PDF using wkhtmltopdf
body: <p>I'm using wkhtmltopdf to convert pages to pdf but when I want to convert a secured page by user name and password but the site redirects the url to another page which requests the username and password although the user is already logged in.</p>
  
  <p>The method which convert uses a process<code>var p = new System.Diagnostics.Process()
                  {
                      StartInfo =
                      {
                          FileName = pdfHtmlToPdfExePath,
                          Arguments = ((options == null) ? "" : String.Join(" ", options)) + " " + urlsSeparatedBySpaces + " " + outputFilename,
                          UseShellExecute = false, // needs to be false in order to redirect output
                          RedirectStandardOutput = true,
                          RedirectStandardError = true,
                          RedirectStandardInput = false, // redirect all 3, as it should be all 3 or none
                          WorkingDirectory = HttpContext.Current.Server.MapPath(outputFolder)
                      }
                  };</code></p>
  
  <p>Anyone has any idea how to get out of this problem?</p>