Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > Keeping server-side object alive

Reply
Thread Tools

Keeping server-side object alive

 
 
Liam
Guest
Posts: n/a
 
      07-15-2005
I'm trying to wrap a protocol behind a web service, the problem is that
part of this protocol involves a thread that waits for asynchronous
events and replies to commands - one of those events is to indicate if
you have successfully logged on.

This thread needs to run for the lifetime of the session. I can keep
the object alive, but as soon as the startup/login web method ends the
event thread dies with it so I don't get any more messages.

Is there a way to keep an object alive with threads running in a web
service or will I have to start looking into remoting (or any other
solution appreciated!).

--Liam.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How keep python socket alive for ever by setting Keep alive flag. hisan Python 1 06-25-2012 05:30 PM
What is the best way of keeping a server-side object alive between page refreshes? damian.jolly@sageautomation.com ASP .Net 2 05-03-2006 12:47 PM
Keeping a session alive when accessing an ASP page with .Net code =?Utf-8?B?RGF2ZSBBbHZhcmFkbw==?= ASP .Net 0 09-01-2005 02:09 PM
Keeping a Session alive during long downloads hoenes1 ASP .Net 0 08-16-2004 12:02 PM
Keeping alive ISDN 128k to ISP Mr Sanghez Cisco 2 07-06-2003 06:17 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57