iisCART™ Documentation

 

iisCART GLOBAL.ASA

Global.asa Source
<SCRIPT LANGUAGE=VBScript RUNAT=Server>

Sub Session_OnStart
    Set Session("Cart") = Server.CreateObject("iisCart.store")
    Session("Cart").ConnectString = "eval"
    Session("Cart").TaxRate = .07
    Session("Cart").CountryTaxRate = .07
end sub

Sub Session_OnEnd
    Set Session("Cart") = Nothing
end sub

</SCRIPT>
 
Methods / Properties / Objects used:
ConnectString
TaxRate
CountryTaxRate
 
Description / Comments:
The global.asa creates the application object.  Global variables are also set here including tax rates.  In addition, the connect string is specified which determines which database your store details are to be read from and stored to.

 

© Corporate Web Solutions 1998, 1999.