Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_web_howto thread: uploading shopping trolley


Message #1 by =?iso-8859-1?q?sunil=20mathur?= <sunilmathur7@y...> on Wed, 21 Mar 2001 04:23:06 -0800 (PST)
could somebody guide me how and where to upload a

shopping trolley,for demonstration only.

I have made a shopping cart in ASP and have a global

asa file.I have the DSN name in this file.The trolley

works fine in my PWS server.will it be require to make

a DSN less connection or I can maintain the same codes

The global.asa file codes are:





<SCRIPT LANGUAGE=VBScript RUNAT=Server>

Sub Session_OnStart

  dim sItemNums(0), nItemQtys(0)

  sItemNums(0) = ""

  nItemQtys(0) = 0



  session("CartItemNumArray") = sItemNums

  session("CartItemQtyArray") = nItemQtys

  session("DBLogin") = "bottlestore"

  session("shipbasecharge") = 10.00

  session("shipitemcharge") = 0.00

  

End Sub

</SCRIPT>





Thanks a lot in advance

sunil




  Return to Index