West Wind Web Connection 5.0
West Wind Web Connection
What's new
Licensing
Share your Sites
Upgrading from Version 4.0
Response.ExpandTemplate Eval Recursion no longer supported
DEBUGMODE and Error Handling Changes
Change Process Class Process() methods to OnProcessInit()
Using the new wwPageResponse Class
Log and Session File Structure Updates
Acknowledgements
Shareware version limitations and issues
Updating from the Shareware Version
Requirements and Recommended downloads
System, software and hosting requirements
Visual FoxPro Environment Requirements
Documentation in Word Format
Web Connection WebLog
Support and reporting bugs
Pricing, Purchasing, Reselling and Warranty
Latest News at West Wind Technologies
Web Connection Developer Registry
User Guide
What is Web Connection
Roadmap to starting out with Web Connection
Web Server Requirements
Setting Up Web Connection
Unzipping the self extracting Zip file
The Setup program
Step 1 - Picking the Web server
Step 2 - Configuring the temp path
Step 3 - Configuring the virtual path
Step 4 - Finish and test the Server
Step 5 - Checking out the code
Setup troubleshooting
Troubleshooting a Filebased Server Install
Authentication Dialog with NT and Windows 2000
Request does not support this method... Error Page
Save As.. or Download dialog instead of request result
Manually configuring Microsoft Web Servers
Windows 2003 Server Configuration
Windows Vista and Windows Server 2008 Configuration
Running Web Connection on 64 Bit Windows
Apache for Windows Manual Configuration
Netscape and other CGI Servers
Configuring Visual Studio 2005
Using the Web Connection Managed Module
IIS 7 and the Web Connection Managed Module
IIS 6/5 and the Web Connection Managed Module
Visual Studio Web Server, Cassini and the Managed Module
Web Connection Managed Module Configuration
webConnectionConfiguration Settings
AdminAccount
AdminPage
AutoStartServers
ComServerLoadingMode
ComServerProgId
ExeFile
LogDetail
MessageDisplayFooter
MessagingMechanism
PostBufferLimit
ServerCount
TempFilePrefix
TempPath
Timeout
UpdateFile
Class AppErrorMessagePages
Busy
Exception
InvalidRequestId
Maintenance
NoOutput
OleError
PostBufferSize
Timeout
TranmitFileFailure
Web Connection Configuration and Deployment
Deploying your Web Connection Application
Compiling your Server
Deploying an application on a live Web server
Using UpdateExe to hotswap COM Servers
Server Configuration Wizard
Step 1 - Create virtual directory
Step 2 - Synch ISAPI DLL and the Web Connection Server
Step 3 - Create scriptmap
Step 4 - Configure COM settings
Manual Server Configuration
Manual COM Server Configuration
Manual File Server Configuration
Copying Files to the Server
Programmatic Server Configuration
Autostarting Web Connection on System Startup
Find and configure the Account Web Server is running under
Securing your Web application
The Server User Interface
The main server process form
The server status form
Configuration Files
The wc.ini configuration file
The Application ini file and the wwServerConfig class
The wconnect.h file
Customizing wconnect.h settings the easy way
The Web Connection HTML Administration Page
ISAPI DLL Maintainence requests
The wwMaint Maintainance requests
Web Connection ISAPI Server Settings Web Page
Web Connection ISAPI Error log (wcErrors.txt)
Updating and Migrating
Updating an existing application on a live Web server
Deploying with a new version of Web Connection
Debugging Requests
Error Handling
Logging and Tracking Requests
The RequestId ServerVariable and the ISAPI Extension
Fox Server Application Logging
Logging Requests in ISAPI and your Fox Server
Scaling Web Connection Servers across the network
Tuning Web Connection for high volume operations
Configuring Web Connection for use with SQL Server
Core Step By Step Guide
Step 1 - Creating a new project
Step 2 - Testing the installation
Step 3 - Adding our own Request Method
Step 4 - Adding simple User Input with QueryStrings
Step 5 - Drilling down into the customer list
Step 6 - Capturing HTML Form Data
Step 7 - Dynamic Editing with Templates
Core Step by Step with the wwBusiness Object
Step 1 - Setting up a business object
Step 2 - Create new Process class
Step 3 - Querying developers with the business object
Step 4 - Selecting and displaying data
Step 5 - Editing data
Step 6 - Updating the List Page
Step 7 - Adding Basic Security
Step 8 - Switching the app to SQL Server Data
Step 9 - Accessing the data over the Web from a Fat client
How Web Connection works
The Server Architecture
Messaging Modes - File Based, COM and ASP
The Visual FoxPro Framework
Implementing the Server
Setting up a Process Class
Mechanisms for generating HTML
Scripting Support in Web Connection
Creating ASP Components from a Web Connection Application
The Web Connection Management Console
Management Console Command Line Interface
New Project Wizard
Step 1 - Create the project and process names
Step 2 - Configure a virtual directory
Step 3 - Create a scriptmap
Step 4 - Finish and create the project
Step 5 - Setting up the server as a COM object (Optional)
New Process Wizard
Step 1 - Pick the project and process
Step 2 - Configure optional Virtual and Scriptmap
Create SQL Server Tables
Step 1 - Select Database
Step 2 - Set Connection String
Step 3 - Finish and configure Web Connection for SQL tables
Security
Windows Directory & File Security
HTTPS/SSL Encryption
Application Level Authentication
Basic Authentication
UserSecurity Authentication
Windows Authentication and Scriptmaps
Securing your Web Connection Installation
Implementing FoxPro based User Logins
Knowledge Base Topics
What are HTTP Cookies?
Implementing HTTP Cookies
Checking whether cookies are enabled in browser
Understanding HTTP Headers in Web Connection
What's the difference between a template and a script?
Run the server without User Interface
Updating your Server Executable online
Running long requests in Single COM mode
Running multiple Web Connection Apps on a single server
Access Denied Errors when loading COM servers
What is a script map?
IntelliSense and Web Connection Objects
Creating a Scriptmap on IIS
Removing multiple DCOMCNFG references for your COM server
Framework Classes
Class wwServer
OnInit
OnLoad
Dispose
GetProcessID
AddResource
Process
ProcessHit
ShowServerForm
cAppIniFile
cAppName
cAppStartPath
cCOMReleaseURL
cErrorMsg
cLogFile
cOutput
cRequestClass
lASPObject
lShowRequestData
lUseRegistryForStartupPath
lUseErrorMethodErrorHandling
lComObject
lDebugMode
lError
lLogToFile
lUnattendedComMode
nScriptMode
nPageParseMode
nWebControlFrameworkCompileMode
Server Support members of wwServer
ASPCallRequest
GetAppStartPath
LogRequest
MTSSetAbort
MTSSetComplete
ReadConfiguration
Reload
SaveConfiguration
SetLocale
SetLogging
SetTimerInterval
cDefaultLocale
cDLLFileName
cTempFilePath
lShowServerForm
lShowStatus
lUseMTS
lUseRegistryForStartupPath
Class wwProcess
OnError
OnProcessInit
OnProcessComplete
Authenticate
CaptchaImage
WebResource
GetWebResourceUrl
ErrorMsg
GetAppSetting
GetBaseUrlPath
GetWCIniSetting
InitSession
LogError
Process
ResolveUrl
SendErrorEmail
StandardPage
cAuthenticationMode
cAuthenticatedUser
cAuthenticationUserSecurityClass
cAuthenticationUserMessage
cSessionKey
cUrlBasePath
cErrorTemplate
cMethodExecutionExclusions
lEnableSessionState
lShowRequestData
nPageScriptMode
oConfig
oRequest
oResponse
oServer
oSession
oUserSecurity
Class wwRequest
How wwRequest works
*** Core Methods required for subclassing
aFormVars
Form
GetRawFormData
InitializeRequest
IsFormVar
QueryString
Params
ServerVariables
SetKey
*** General purpose retrieval methods
FormVarsToObject
GetApplicationPath
GetAuthenticatedUser
GetBrowser
GetCookie
GetCurrentUrl
GetExecutablePath
GetExtraHeader
GetFormMultiple
GetIPAddress
GetLogicalPath
GetLocale
GetMultipartFile
GetMultipartFormVar
GetRequestId
GetPhysicalPath
getpreviousurl
GetRelativeSecureLink
getservername
getserversoftware
GetWCIniValue
islinksecure
IsPostBack
getclientcertificate
lUtf8Encoding
nPostMode
cFormVars
cpathoverride
cServerVars
lusexmlformvars
oapi
oxml
Class wwASPRequest
Class wwPageResponse
BasicAuthentication
AddCacheHeader
AddCookie
AddForceReload
AppendHeader
BinaryWrite
Clear
DownloadFile
End
ExpandPage
ExpandScript
ExpandTemplate
FastWrite
Redirect
Render
TransmitFile
Write
HTMLFooter
ContentType
Encoding
Cookies
Expires
GZipCompression
Headers
RawHeaders
ResponseEnded
Status
Old Components
Class wwResponse
*** Base Class Abstract Methods
Write
FastWrite
GetOutput
Clear
*** General purpose methods
authenticate
contenttypeheader
ContentType
DownloadFile
expandtemplate
TransmitFile
ExpandScript
HRef
htmlfooter
HTMLHeader
cStyleSheet
HTMLHeaderEx
IEChart
nooutput
Redirect
ShowCursor
standardpage
writememo
WriteLn
*** Form Field Generation
formbutton
FormHeader
formcheckbox
formhidden
formradio
formtextarea
formtextbox
Framework Support classes
Class wwHTTPHeader
AddCacheHeader
AddCookie
AddCustom
addforcereload
addheader
AddRequestId
authenticate
ClearHeader
completeheader
defaultheader
FileDownloadHeader
getoutput
redirect
SetContenttype
setprotocol
cHTTPVersion
Class wwHTMLHeader
AddJavaScript
AddMetaTag
AddPageRefresh
AddScriptLink
AddStyleSheet
AddStyleSheetBlock
AddTitle
AddVBScript
DefaultHeader
GetOutput
Init
cBodyTag
cDocType
cHTMLTag
Class wwSession
How it works
Using SQL Server for Sessions with the wwSessionSQL Class
CreateTable
DeleteSession
EndSession
GetField
GetSessionId
GetSessionVar
GetUserId
IsValidSession
LocateSession
NewSession
OpenTable
Reindex
SetField
SetSessionID
SetSessionVar
SetUserId
TimeoutSessions
cDataPath
cSessionID
cTableName
lDontSaveSession
lNoFileCheck
nSessionTimeout
oRequest
Class wwShowCursor
How it works
Paging wwShowCursor cursor displays (5 or n pages)
BuildFieldListHeader
EditRecord
EditTable
GetOutput
SaveRecord
SetCursor
ShowASCIIRecord
ShowCursor
ShowObject
ShowRecord
cAlternatingBGColor
cBaseUrl
cCellPadding
cCellSpacing
cExtraTableTags
cHeaderBGColor
cHeaderColor
cHeaderFont
cKeyField
cKeyFieldType
cPage_PageURL
cTableBGColor
cTableBorder
cTableEditFieldList
cTableFieldList
cRecordFieldList
cTableSortColumn
cTableTitle
cTableWidth
lAlternateRows
lCenterTable
lShowAsTable
lSortable
lSumNumerics
nForceToPreList
nPage_ItemsPerPage
nPage_ShowPage
Class wwDBFPopup
BuildList
GetOutput
Reset
cAddFirstItem
cAddLastItem
cDisplayExpression
cExtraSELECTTags
cFormVarName
cKeyValueExpression
cSelectedDisplayValue
cSelectedValue
lMultiSelect
nHeight
Control Architecture
Class wwConfig
Load
Save
cFileName
cMode
cRegNode
cRegPath
cSubName
Class wwServerConfig
nTimerInterval
nScriptMode
nMemUsage
lShowStatus
lShowServerForm
lShowRequestData
lSaveRequestFiles
lLogToFile
lAdminSendErrorEmail
cTemplate
cTempFilePath
cSQLConnectString
cComReleaseUrl
cAdminMailServer
cAdminEmail
Class wwCache
How wwCache works
When and How to use Caching
AddItem
Expire
GetItem
IsCached
Open
Reindex
Remove
cCacheCursor
cFixedFileName
nDefaultCacheTimeout
Class wwUserSecurity
Authenticate
AuthenticateNt
Close
CreateTable
DeleteUser
GetUser
GetUserByUsername
NewUser
Open
Reindex
SaveUser
calias
cdomain
cerrormsg
cfilename
lcasesensitive
lerror
ndefaultaccounttimeout
nminpasswordlength
oUser
Web Control Framework (New)
How the Web Control Framework works
Control Architecture
Page Event Sequence
Script Page Support
Script Page Rules
From Script To Code
How DataBinding works
DataBinding Methods and Properties
Control Source DataBinding
How Controls are parsed
Understanding Code Generation and Compilation
Deploying Web Control Framework Pages
How Scripts get fired from wwProcess
Web Control Pages and Page Compilation
Creating Custom Web Controls
Getting Intellisense to work in the Web Control Framework
Web Control Framework Walk Through
Creating a new project
Setting up Visual Studio 2005
Setting up your first WebControl page
Adding controls to the page
Hello World with Web Controls
Creating a developer list page with a wwWebDataGrid
Displaying Developer Data
Editing Developer Data
Adding a new Developer
A few additions and the full EditDeveloper code
Visual Studio Configuration and Operation
Configuring Visual Studio .NET
Visual Studio Add-in Configuration
The .NET Controls in WebConnectionWebControls.Dll
Creating custom Page and Control Templates
Common Tasks and Questions
Security in Web Control Framework applications
Firing Custom Server Events from the Client
Using custom wwProcess classes and ScriptMaps
FAQ Posts from the Web Connection WebLog
Firing Server Events from Client Code in Web Connection 5.0
Mixing Client and Server Events in Web Connection 5.0
Business Object vs. Direct DataBase Access
Creating custom Web Connection Web Controls
Creating custom Page Templates for Visual Studio
Web Connection and Visual Studio FAQ
Web Control Reference
Class wwWebControl
Web Control Basics
Web Control Events
Web Control Inheritance and Containership
AddAttribute
AddScriptAttribute
AddControl
AddStyleTag
BindControlSource
DataBind
Dispose
FindControl
FireEvents
GetCachedOutput
HookupEvent
LoadViewState
OnInit
OnLoad
OnLoadControlState
OnLoadViewState
OnPreRender
OnSaveViewState
PreserveProperty
Process
Render
RenderControlError
ResolveUrl
SaveViewState
UnbindControlSource
UnbindData
WriteBaseTags
WriteCachedOutput
WriteEnabledTags
WriteEncodedAttributeString
WriteIdTags
WriteStyleAndClassTags
WriteUnitValue
Attributes
AllowedMarkupChildren
AutoPostBack
BackColor
BindingErrorMessage
CacheDuration
CacheKey
CanContainLiterals
ChildControls
Context
ControlIndex
ControlSource
ControlSourceFormat
ControlSourceMode
ControlSourceProperty
ControlSourceType
ControlSourceUnbindExpression
CssClass
DefaultEvent
DefaultProperty
Enabled
EnableViewState
ErrorMessageLocation
ForeColor
Height
ID