I was under this impression Delegate.BeginInvoke runs a Thread from ThreadPool (Managed by Asp.net), and it does all the work in the background for us.
Am I wrong on this?
So I heard .NET has 25 threadPools available?
my question is, how do they work?
I believe Server/IIS maintain these threads?
now lets say i have 40 users on my site where I have BeginInvoke to run a worker thread. what will happen? are these 25 are shared globally or by PER user?
And whats...
I was able to do what I was after using threading.
all I had to do was Create a session variable with SyncLock and then update it within Callback Function.
while keep refreshing the page(via meta refresh) or ajax I was able to track the status of my thread.
cheeeeeers:)
ca8msm,
Thanks for your reply. based upon my code given above, can you modify it just a little bit so I can see where do i need to implement Ajax Calls.
Thanks
I am using BeginInvoke to get a thread from ThreadPool, it all works well, however I need to show an indicator on GUI, that process has finished or something.
like update a Label control... or maybe via javaScript?
here is code... ( look at sub ok() )
Imports System.Threading
Imports...
Using a Server Side Language.
in ASP you can use fileSystem Objects to save stuff to a TextFile.
Or you can Save imgaes into a folder as well.
Or you can also Store information into Database.
You can also do with javaScript by using activeX, Which is not Good, it requires all of your urses to...
Users do have to Click on the Send Button to Send emails , Plus if a user dont have Email Client installed Then Email window wont even open up.
Use Server side components to send emails.
Such as CDONTS in ASP.
maxflitom, so when you Recompile DLL, do you have to Register DLL again?
I am always confused about DLLs.
When you create DLL's, do you have to register them on your machine? or its done automaticall via VB?
We only have to register them on Client Machines?
Thanks.
ok in order not to cache your webpage try putting these lines on the top of your asp pages
response.expires = -1
response.cache-control = "Private"
and kill all the Session by doing this
Session.abandon
Then if u want to redirect with javaScript try writeing your jScript code in a...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.