Kill Threads
me using threads to call com+ components from asp.net to run the process in background. But i have a requirement to kill the running thread on certain business conditions. how to kill running threads on asp.net 1.1?
me using threads to call com+ components from asp.net to run the process in background. But i have a requirement to kill the running thread on certain business conditions. how to kill running threads on asp.net 1.1?
I am using COM+ components for executing SQL stored procs. These VB.dlls are called by ASP pages.
I can see the status of each object in the status view COM+
I am generating Excel reports by using pre-defined templates, with the help of COM+ for executing stored procs.
But I am surprised to see the status of a component running with more call_time even though I stopped the execution of a report in the middle of execution by clicking stop in the IE browser, closed the IE browser.
The object has not been released in COM+ application. It continued to execute the timeconsuming SQL query and the call_time value is increasing...
How to kill the object instance as soon as the client (IE) stopped or closed?
as webadmin i have occasion to kill a user session and couse them to login again. I have the sessionID saved in a file. is there a way to kill the user session without disturbing others?
Just been discussing this with a colleague and we want t try and find the definitive answer. How do you kill a session correctly?
does:
session("username") = ""
Kill it from memory? or does it set it to the value of null?
I would like to know if I can see all my threads, the responses to my threads. (something like based on a profile I created for myself).
View Replies View Relatedtell me with some examples to how to use our own threads in asp pages. I tried to do it in usual way how we are suppose to use it in console and windows application. but the same thing will fail in asp pages. it give "nullreference" exception from unknown module.
View Replies View Relatedhow can I view the threads posted before by me.
View Replies View RelatedI have a discussion forum that is working great, except that I just found out that if a person adds a reply to a thread, the thread just stays in place, weather or not if it's the first post or 7893th post. What I would like it to do is display the earliest thread, or the earliest thread with a reply at the top and work to the oldest thread. Right now it works only from earliest post to oldest post, not including the replies.
View Replies View RelatedWhat happens to OpenTextFile if one thread tries to write to the file while another thread currently has it open? I tried testing it by calling OpenTextFile multiple times without ever calling Close, but it still seems to work fine.
Is there any way in VBScript that you canguarantee that the file stream is closed (something analogous to a finally {} block in C#)?
what is wrong in the code bellow to kill iexplore.exe process after
processing my page??
'»»Before comes routines to access data base and to send email.
Set objWshell = Server.CreateObject("WScript.Shell")
objWshell.Run "%COMSPEC% /C kill iexplore.exe", 0, TRUE