You'll want to take a look at VFP mtdlls (multi-threaded dlls). It's a compile option starting with VFP6SP5 and made specifically for web apps and it's pretty much the best architecture if you want to do web with VFP. ActiveVFP (
http://www.activevfp.com) builds on this technology and even integrates it with ASP.NET while still allowing you to develop with VFP. It's also open source, completely free, and part of the SednaX community started to keep VFP alive and kicking.