asp classic - ASP shopping cart -


hello based on example @ http://www.15seconds.com/issue/010411.htm create asp shop rewrite connection db don't have dedicated server . instead of

sub subgetdsncreateconn strbasketdsn = application("strbaskdsn") set baskconn = server.createobject ("adodb.connection") baskconn.connectionstring = strbasketdsn baskconn.open end sub 

and

set savedbaskconn = server.createobject ("adodb.connection") savedbaskconn.connectionstring = application("strbaskdsn") savedbaskconn.open  

i use like:

conn="provider=sqloledb;server=localhost;uid=username;pwd=password;database=shop" set rs = server.createobject("adodb.recordset") rs.open strsql, conn 

and can't make work .. point me in right direction or give me better tutorial how create classic asp shopping cart hold big traffic?

thank you

can ask why don't change settings in:

strbasketdsn = application("strbaskdsn") 

to match requirement, rather changing code entirely?? tempted examine contents of application("strbaskdsn") , change match own database.

if i'm missing obvious, let me know.

jim


Comments

Popular posts from this blog

c++ - How do I get a multi line tooltip in MFC -

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -