>
> This is highly OT, so ignore if you don't like that stuff.
>
> Suppose you write a custom app and compile it as a .exe file.  What is the
> best way to have it run when the server is rebooted on Windows2000 (like a
> service)?  I have a few ideas but I think they are amateurish and
> would like
> a more informative view point.
>
> Thanks,
> Jason

How about simply making it an NT service? It's not terribly complicated. If
you're using c/c++ there's (crusty, uncompleted, embarassing) source code
with the secPOSTService in the IHTK.

CFX_secPOST and secPOSTService were some code I make that allows you to read
the raw data of a form post and perform operations on it. It does this by
using secPOSTService which pretends to be a HTTP/1.0 server as far as any
browser is concerned.

If I ask it what it's been up to the copy on this machine says the following
(which basically mean I haven't used it in over a week). While you're at
it -- fix the byte cut off thing, eh? Never got around to that now that I
think of it. :)


Intrafoundation secPOSTService-0.4

----------------------------------------------------------------------------
----

Thu, 22 Mar 2001 09:45:01 GMT

Uptime: 07:22:30:01
CPUTime: 00:00:00:00
Computer: SASHA
Username: SYSTEM
MemoryLoad: 88
Process: 1060
Thread: 4888
Highest Threads: 1
Current Threads: 1
Connects: 2
METHOD: 2
URL: /
Content-Length: 0


This is the Intrafoundation secPOSTService web server. It is an intermediary
proxy providing file upload control for Macromedia/Allaire Cold Fusion
servers.

For information see http://www.intrafoundation.com.

Refresh in 30 seconds.



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to