IIS - how to close my page on internat explorer in asp.net web application
Asked By pankaj singh on 12-Jun-13 04:01 AM
Hi expert
I have run a web application in asp.net with back end sql server 2008
my problem is that i want to close my page automatically after 1 hours for that i have manage task Scheduler.
i have written following line of code
foreach (System.Diagnostics.Process exe in System.Diagnostics.Process.GetProcesses())
{
if (exe.ProcessName.StartsWith("iexplore"))
exe.Kill();
}
but this code is running on local server but not running on iis server.