Click here to Skip to main content
16,016,345 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi All,

I have a problem in my web page where i am sending emails in bulk, while sending i need to display the updated status in a label, for that i am using a new thread and a ajax - timer control.
its working fine in my local system.

But it's not working in the site. If anyone have solution please help me.

Thanks in advance
Posted

1 solution

What you want to do is impossible. If you understood how websites work, you'd understand why. Your page class only exists while the server is generating the HTML to send to the client. It does not persist. You'd typically do what you want through a windows service which your web site interacts with, perhaps just by queueing addresses to email into the DB.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900