I want to be able open and then close an aspx page that is on my site. This is so I can automate a process in the load event of the page. Does anyone here have the knowledge on how to do this? Thank you,
What do you mean by open and close your asp.net page? Do you mean making a HTTP call to the page? Bruce DiscountASP.NET www.DiscountASP.NET
Bruce, I would like to use a scheduled task to open the page so that the code in the page load eventwill run and then close the page. Basically it is code that runs from a custom email control on the page, that looks to see if anyone that meet a spiciffic criteria should be sent an email. I want this to happen everyday at a designated time. Thank you,
HTTP is actually a stateless protocol. There's really no opening or closing. The scheduled task tool basically make a HTTP call to the page you specified (just as if someone hit your page from a browser). Bruce DiscountASP.NET www.DiscountASP.NET
Bruce, Ok, so please tell me if I have this correct. If I simply point to the aspx page from the scheduled task it will load on the server run my page load event and then at some point go away, never to be seen by a human? Thank you again,
hello,I want to run stored procedure for daily Data Base update in my website with Scheduled Task. I do it by save update stored procedure code at SPCODE.aspx page in updateFolder at website root. but every web site visitors can access it. i add this code to web.config but Scheduled Task don't work after this. <location path="updateFolder"> <system.web> <authorization> <deny users="*"/> </authorization> </system.web> Please help me. thank you.
Hi, You should be able to password protect that folder: https://support.discountasp.net/KB/...irectory-in-my-web-site.aspx?KBSearchID=53475 Then use the credentials you created in the Scheduled Task. All the best, Mark