Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
ASP .Net
HTTPContext Session and worker thread (Fire and Forget)
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Braulio Diez, post: 3435772"] Hello, In my ASP .net application in one of the pages I have to fire a process that takes quite long to execute, my idea is to execute this using the fire and forget pattern (let the page to process and respond, but start a worker thread to execute the process, it takes 1 minute to execute or something like that). All this I got it more or less working([URL]http://www.eggheadcafe.com/articles/20050818.asp[/URL]). Now comes the question... My idea is to store the result in a session varialbe (later on using script services I will play with that value), is a good approach to pass as a parameter for the worker thread the HTTPContext or Session ? Too risky?(I know an additional restriction is to use a static method :-() What other approaches could I take? Thanks, Regards Braulio /// ------------------------------ /// Braulio Diez /// /// [URL]http://www.tipsdotnet.com[/URL] /// ------------------------------ [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
ASP .Net
HTTPContext Session and worker thread (Fire and Forget)
Top