threads an session variables

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

hello,
In my web app when some button is clicked, a new thread is created to
import data and that thread creates some threads too, inside those threads
some session variables are updated, but another aspx page can´t see the
updates, this happends only if i set the sessionstate mode to stateserver,
with inproc mode all works fine, i use session variables in other aspx pages
and all works fine(but don´t use threads to read/update session variables).

Any sugestions?
 
Panic,
This sounds terribly complicated to me. Have you tried to see if the
HttpContext.Current is available to these background threads?
Peter
 
No, the HttpContext is not availabe for that threads, the weird thing here
it is that all works fine setting mode=inproc for sessionstate. in web
config.
 
To make it work, for now i change the session variables for application
variables and it works i made this just because both pages are available just
for one user, i don´t recomend this for other situations...i´ll keep looking
for a solution with session variables.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top