Login

Recover Your Password

Welcome

Bring Your Vision To Life

We provide software and services that enable our customers and partners to turn advanced technology into real solutions.

What We Do

Contensive works as a team member with client partners, providing the highest level of technical competence and support in the design, production, management & lifecycle support of online applications.

api illustration
API Integration

You name it, we can integrate it

mobile development illustration
Mobile App Development

Custom mobile apps that can do everything

cloud app dev illustration
Cloud Application Development

Customized applications with the features you need

cloud host illustration
Best-In-Class Cloud Hosting

AWS platform, the leader in cloud computing

life cycle illustration
Life Cycle Management

Continuous monitoring, user support, and training

business process illustration
Business Process Automation

Streamline your operations and increase efficiencies

Let’s work on a solution to your problem today!

Process

Agile Software Development Process

Benefits

Why You Should Choose Contensive

The greatest product we offer is our experienced team and our dedication to real-world, time-tested principles: a realistic budget, a disciplined process, and enough flexibility and creativity to accommodate any requirement.

contensive favicon
Proven Development Process

Our agile scrum process allows total transparency

contensive favicon
Time Tested Principles

We follow best practices to get the best results

contensive favicon
Realistic Budget

Payment options that will help you succeed

contensive favicon
Expertise

30+ year history of customer success and profitability

contensive favicon
Talented Team Members

Each developer has disparate skill sets & decades of experience

Experience

Contensive’s Experience

Contensive provides software and services that enable our customers and partners to turn advanced technology into real solutions.

100k+

e-commerce transactions a month

1st

Website allowed in the chamber of US Supreme Court

8 years

Average relationship with client

600+

Websites and applications created

30+

years of experience

300k+

People visiting our applications

Contact Us

Questions?
Call Us (703)-251-0624

Tech Support
support@contensive.com

Return to Product Support > Learning Center > Developer References > Installation and Setup > Creating a web site > Creating a New Site Using Other programming environments

Creating a New Site Using Other programming environments

Contensive is a server that can deliver the entire site from a single API call. It uses an activex object to interface with the webserver's scripting environment.

You can use Contensive to manage content delivery form any programming language that can work with an instance of an activex object. The process is as follows:

Create the object from the program id ccweb3.mainclass

Initialize several contensive properties from the server context (an asp vb example is included here)

call any Contensive method to deliver the site content. The simplest is "GetHTML()"

This is a sample of the initialization of Contensive properties using ASP vb.

'
'==============================================================================
'
' This header file contains site wide definitions and is required
' by all asp documents in the site.
'
' This page and its contents are copyright by Kidwell McGowan Associates.
'
'=============================================================================
'
Dim ccLib
'
'========================================================================
' ----- Initialize the API
'========================================================================
'
Sub InitLibAPI
on error goto 0
'
Dim NewKey
Dim TotalBytes
'
Set ccLib = Server.CreateObject( "ccWeb3.MainClass" )
'
' Move from MainClass
'
Response.Buffer = True
ccLib.ServerPathPage = CStr( Request.ServerVariables("SCRIPT_NAME"))
ccLib.ServerReferrer = Request.ServerVariables("HTTP_REFERER")
ccLib.ServerHost = Request.ServerVariables("SERVER_NAME")
ccLib.BrowserLanguage = CStr( Request.ServerVariables("HTTP_ACCEPT_LANGUAGE"))
ccLib.ServerPageSecure = cBool( Request.ServerVariables("SERVER_PORT_SECURE"))
ccLib.PhysicalWWWPath = Server.MapPath("/")
ccLib.PhysicalccLibPath = Server.MapPath( "/ccLib" )
ccLib.VisitRemoteIP = CStr( Request.ServerVariables("REMOTE_ADDR"))
ccLib.VisitBrowser = CStr( Request.ServerVariables("HTTP_USER_AGENT"))
ccLib.HTTP_Accept = CStr( Request.ServerVariables("HTTP_ACCEPT"))
ccLib.HTTP_Accept_charset = CStr( Request.ServerVariables("HTTP_ACCEPT_CHARSET"))
ccLib.HTTP_Profile = CStr( Request.ServerVariables("HTTP_PROFILE"))
ccLib.HTTP_X_Wap_Profile = CStr( Request.ServerVariables("HTTP_X_WAP_PROFILE"))
'
' Create ServerQueryString
'
For Each NewKey In Request.QueryString
ccLib.ServerQueryString = ccLib.ServerQueryString & "&" & CStr(NewKey) & "=" & Server.URLEncode( Request.QueryString(NewKey))
ccLib.ReadStreamBinaryRead = ccLib.ReadStreamBinaryRead Or (ucase(CStr(NewKey)) = "REQUESTBINARY")
Next
If Len( ccLib.ServerQueryString ) > 0 then
ccLib.ServerQueryString = Mid( ccLib.ServerQueryString, 2 )
End If
'
' Create ServerForm
'
If ccLib.ReadStreamBinaryRead Then
'
' binary multipart form
'
TotalBytes = Request.TotalBytes
If TotalBytes > 0 Then
Server.ScriptTimeout = 1800
ccLIb.ServerBinaryHeader = Request.BinaryRead(TotalBytes - 1)
End If
Else
'
' non-binary form, create Form String
'
For Each NewKey In Request.Form
ccLib.ServerForm = ccLib.ServerForm & "&" & CStr(NewKey) & "=" & Server.URLEncode( Request.Form(NewKey))
Next
If Len( ccLib.ServerForm ) > 0 then
ccLib.ServerForm = Mid( ccLib.ServerForm, 2 )
End If
End If
'
' Create ServerCookie string
'
For Each NewKey In Request.Cookies
ccLib.ServerCookies = ccLib.ServerCookies & "&" & CStr(NewKey) & "=" & Request.Cookies(NewKey)
Next
If Len( ccLib.ServerCookies ) > 0 then
ccLib.ServerCookies = Mid( ccLib.ServerCookies, 2 )
End If
End Sub
'
'==============================================================================
' Initialize
'==============================================================================
'
if Response.IsClientConnected then
Call InitLibAPI()
else
Response.End()
end if

This page was last reviewed 8/12/2022 9:24:41 AM