473,324 Members | 2,124 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

How to communicate a aspx page with a thread ( one thread per session )?


How to communicate a aspx page with a thread ( one thread per session )?
I try to build a thread that be able to communicate with a aspx (C#).
Basically, this thread launches a special procedure which can take
several minutes. Also, the aspx page refreshes automatically every
5s(meta http-equiv=refresh content="1,qsdf.aspx”) and it shows the
status like a progress bar. Currently, I can launch and execute a
separate thread in my Web Sessio n. But I could not communicate by
event and collection class.

For example. In my main aspx,I create a new instance of my
Collection(ArrayList) (private list { set{ Session[“List”] } get{return
(LIST)Seesion[“ref”] }}). In my constructor thread, I take this
List(ref) to pass like parameter. But apparently my collection has not
been modified by my thread when I try to read that in my aspx page.

Could you help me?
Where can I find some documentation about that?
Thank in advance …..

Bye bye

-=zoltux=-

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 15 '05 #1
0 1181

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Arthur | last post by:
I have a mix web site, ASP and ASPX files. I have assigned a value to Session("Date") and the href to an ASPX page. When I further href to another ASP Page. The content in Session("Date") becoming...
4
by: Tim Smith | last post by:
Hi, We have an ASP.NET web application which is suffering performance problems. Since setting up robot scripting interacting with the browser would take a while I hoped I could open a two-way...
4
by: DavidS | last post by:
First: There are several ways to confuse one regarding session timeout. (1) web.config - <sessionState timeout="20"> (2) IIS Manager | Internet Information Services | ServerNode | Default Web Site...
6
by: Thomas Andersson | last post by:
Hi all, I've been thinking of about adding new languages to our website and is currently investigating how this could be done. And I know that one way to go would be to create new aspx-pages...
2
by: Sanjay Pais | last post by:
We are using ASP.2.0 and I was wondering if any one knew how I could modify the default.aspx. What I want to do is add some new HTML to the aspx page as well as either change the code behind or...
3
by: Franck | last post by:
Hello, I try to communicate some data from a parent aspx page to a child page the only solution I have found was with Response.Write("<body><script>window.showModalDialog(......)"); it works...
6
by: BizWorld | last post by:
Hi, I have a scenario where i need to configure only Login.aspx page to use SSL. All other application will run on HTTP protocol. If someone can guide me how to accomplish this. One of my idea...
4
by: andersboth | last post by:
If i in my aspx cs file put code like this: public delegate void TimeOutDelegate(); public void timeOut() { Thread.Sleep(8000); } private void Page_Load(object sender, System.EventArgs e)
6
by: Simon | last post by:
How to pass messages through events from a user control to its containing page, or to another user control? Is there any recommended way? Thanks very much.
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.