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...
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...
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!
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...
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...
Suppose a recordset needs to be opened everytime
any web page is loaded on a web site.
Would anyone please compare the advantages and
disadvantages between closing a recordset and
set a recordset to nothing?
e.g.:
I have two tables, one is "fruit", the other is "drink"
"fruit" has the following data structure:
name price
apple 0.8
orange 1.0
grape 0.99
"drink" has the following data structure:
name price
water 1.00...
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.