I have a stock exchange trade robot which needs to run on a hosted webserver as I have limited Internet at home. The robot permanently checks prices and gives buy/sell orders. So the robot works on its own without any user interaction besides the initial
start of the Aspx page.
Currently I have it running via IIS7 where a simple Aspx page starts Global.asax, which via Application_Start calls the real trade robot, a C++/CLI dll. The session timeout of 20min has been removed as the dll loads the Aspx page every 10 min. It works
fine so far on different shared hosting providers, the dll runs for hours.
However thats not a very clean solution.
Is there another .NET solution to host a robot via IIS7 ? I cannot afford a dedicated server or VM so it needs to run under IIS7 with shared hosting like all the normal ASP.NET websites do.
No, this is the only way on
shared ASP.NET hosting environment. You should reload the page/dll because otherwise the application pool will time out and your sessions will expire.
Schuckel
0 Points
1 Post
IIS hosted robot without session timeout ?
Aug 03, 2012 05:41 AM|LINK
Hello,
I have a stock exchange trade robot which needs to run on a hosted webserver as I have limited Internet at home. The robot permanently checks prices and gives buy/sell orders. So the robot works on its own without any user interaction besides the initial start of the Aspx page.
Currently I have it running via IIS7 where a simple Aspx page starts Global.asax, which via Application_Start calls the real trade robot, a C++/CLI dll. The session timeout of 20min has been removed as the dll loads the Aspx page every 10 min. It works fine so far on different shared hosting providers, the dll runs for hours.
However thats not a very clean solution.
Is there another .NET solution to host a robot via IIS7 ? I cannot afford a dedicated server or VM so it needs to run under IIS7 with shared hosting like all the normal ASP.NET websites do.
HostingASPNe...
All-Star
15866 Points
2974 Posts
Re: IIS hosted robot without session timeout ?
Aug 03, 2012 06:46 AM|LINK
Hello,
No, this is the only way on shared ASP.NET hosting environment. You should reload the page/dll because otherwise the application pool will time out and your sessions will expire.
Regards
Free ASP.NET Examples and source code.
dotnetnerd
Contributor
2368 Points
538 Posts
Re: IIS hosted robot without session timeout ?
Aug 04, 2012 01:44 AM|LINK
Hi Schuckel,
If you need shared hosting that support asp.net, please visit our site. We can help. :)
Windows ASP.NET Hosting | Reseller Hosting | Cloud Hosting