Hi
I use Zoom v4 (boss doesn't want to upgrade) and am trying to implement it in .NET MVC using C#.
I do not want to use querystrings in my url (sort of scraps the MVC clean urls). Is it possible to use POST values instead? How would I go about that?
Thanks
I use Zoom v4 (boss doesn't want to upgrade) and am trying to implement it in .NET MVC using C#.
I do not want to use querystrings in my url (sort of scraps the MVC clean urls). Is it possible to use POST values instead? How would I go about that?
Code:
var psi = new System.Diagnostics.ProcessStartInfo(); psi.FileName = HttpContext.Current.Server.MapPath("/Scripts/search/" + sLang + "/search.cgi"); [B]psi.EnvironmentVariables["REQUEST_METHOD"] = "GET"; psi.EnvironmentVariables["QUERY_STRING"] = sSearch;[/B] psi.EnvironmentVariables["REMOTE_ADDR"] = HttpContext.Current.Request.ServerVariables["REMOTE_ADDR"]; psi.RedirectStandardInput = false; psi.RedirectStandardOutput = true; psi.UseShellExecute = false; Process proc = Process.Start(psi); proc.StandardOutput.ReadLine(); string zoom_results = proc.StandardOutput.ReadToEnd(); proc.WaitForExit();
Comment