If I have www.x.com and www.y.com point to the same
IP address (same web site), and www.x.com is the primary
domain.
Would you please tell me what the respective value of Server.Variables("server_name") is if I accessed the web site via www.x.com and www.y.com respectively?
Foe...
Thank you for your reply.
I have a problem of doing this.
I currently do NOT have a subdomain and I am going to apply for a subdomain
soon.
Before I set up a subdomain, I need to know the way to get the subdomain name
in the server side script.
But since I do NOT have a subdomain now, I cannot...
You can use some ASP Email COM component, specify the
content type property so that you can send html email,
and add html source to the body text of each email.
Supppose I have a subdomain called "sub.mydomain.com"
pointing to a directory "/sub" under http://www.mydomain.com/ .
I also have mysub.asp under /sub.
if I use server_name in serverviriables in mysub.asp
to detect the server name, will I get a value of...
Let me ask one more question:
As far as a middle to large scale online shopping mall
is concened, which of the follwing database is the best?
(i mean the most efficient and fatest)
(1) MSSQL
(2) mySQL
(3) mSQL ( is it for business?)
(4) ACCESS (how many concurrent userd can it...
Is there any software/tools to do that?
If I convert an ACCESS database to a MSSQL database,
will that make reading and writing a database faster?
Do I need to modify ASP script a lot to make it
faster? Will most of my ASP for accessing ACCESS database
still work for accessing MSSQL databse...
e.g.:
< script language=Javascript runat=server>
x=100
</script>
< script language=Vbcript runat=server>
how can I get the value of x from Javascript?
</script>
Thanks for your tips!
Have you really install ADO in your ASP?
I know by default is should be there.
Another possibility is that some important files
got damaged somehow and the database engine won't
work.
If you have a PC, probably you can install Personal
Web Server from you Windows CD or download it from...
Thanks a lot for your reply.
My design of shopping cart has multiple items on a single page where users can add one or more pieces of each item to
the shopping cart.
When it comes to validation of stock availability, if
used#1 add item#1 to his shopping cart, that will not
affect the...
Thank you for your detailed description.
So the major feature of your design is to use
a table in a database as a termpory storage space
for shopping cart status,
which means everytime an item is added to the shopping
cart, there will be an operation of INSERTION into
that databse, and...
the time zone in client side is constant,
For example: GMT -4
But I may change the hosting server later,
and the hosting server may be in a diffferent Time Zone
from the first hosting server.
If the client Time Zone is GMT -4
and the Time Zone of the hosting server may vary,
how can I use...
I know some experts suggest not to store memory-consuming
object(though those objects may need to be created very frequently)in session.
Some people tend to use very few session variables for the
whole web site per user.
Shopping Cart is a very special user status, could
anyone tell me...
Do I really need to use RS.close before I
Set RS=Nothing ?
Does this apply to database conneciton as well?
What can be the consequence if I set a RS (or a db connection) to Nothing directly without closing it?
Another puzzle, for example:
After a RS is opened by Set RS=dbconn.execute(sql)
I...
Thank you for your reply.
I do put the java applet code in the same directory as the
asp files and the reference to apllet files is correct.
I dont understand when I paste the java applet reference
into an .htm file and save this .htm file in the same directory
where the .asp and apllet is, the...
I paste some java applet into x.asp files, and could NOT see any applet
executing when I view x.asp under Personal Web Server.
and more surprsingly, after the web page of x.asp was shown on the browser, I looked at the source of the x.asp in the browser, the JAVA applet codes were
even NOT in...
Thank Denis and DesperateCoder for your reply.
I am always wondering:
Why do so many tech experts suggest not to store recordset
or connection in session or application variables?
To my konwledge, open a connection and a recordset also
consumes a lot of server performance (maybe connection...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.