Hi everyone,
Recently, I am investigating a bug of javascript problem in our asp page. Somehow it always crashed in the same places in one of our asp pages for 10 times. The data fields are empty, with those fields, I collected data using JavaScript(not backed up by asp program)
But I cannot...
Hi everyone,
Recently, I am investigating a bug of javascript problem in our asp page. Somehow it always crashed in the same places in one of our asp pages for 10 times. The data fields are empty, with those fields, I collected data using JavaScript(not backed up by asp program)
But I cannot...
Hi everyone,
I tried to check before set an object is nothing so I did the following:
If Not isNULL(Executor) then
Executor.Close 'error here
set Executor=nothing
End If
or
If Not isObject(Executor) then
Executor.Close 'error here
set Executor=nothing
End If
But it always give me the...
Hi everyone,
if I have code like this in page1.asp:
If a=b then
'do something
Else
response.redirect("page2.asp")\
End if
set cmdTemp=Nothing
conn.close
set conn=nothing
Does that mean if the line response.redirect statement get executed, the last three lines of code in page1.asp will...
Hi everyone,
can I do the following:
If countRS.EOF or ( (Not CountRS.EOF) and ( CInt(CountRS.fields("submitCount"))<4 ) ) then
do something here
End if
What I am trying to do is merge the following code:
if countRS.EOF then
do something
End
If ( (Not CountRS.EOF) and (...
Hi everyone,
Our asp pages depend on a lot on javascript in order to display the error message to customer from client side, not
server side. But I feel some problems on our site come from javascript.
Recently I always find that some non duplicable error on our eCommerce site. Most of these are...
Hi everyone,
I set up a customer error messge and auto email which record form data and error details on our web site in order to proactively to monitor what's going on for eCommerce site.
Today, I got one message like this:
* Line, Column:447, -1
* Description: [Microsoft][ODBC SQL Server...
Hi all,
I want to make sure numberofQuoted is integer before processing. So I use the following function to make sure that the white spaces will be trimmed before it passes to CInt. It likes this CInt(Trim(Request("numberofQuoted"))).
But very intertesting thing is: one out of one hundred there...
Hi all,
In my error log:
I have record:
UserAgent Mozilla/4.0 (compatible; MSIE 5.5; AOL 9.0; Windows 98; Win 9x 4.90)
What browser they are using, AOL?
if it is like this:
UserAgent Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
then they using IE?
I am just...
Hi, all,
I have a form test.asp with certain fields will show depend on what page it comes from.
i.e.
I set up www.mydomain.com/somedirectory redirect to
test.asp, in test.asp, I wrote:
sReferer = Request.ServerVariables("HTTP_REFERER")
if sReferer="www.mydomain.com/somedirectory " then...
Hi all,
I was confused by using round method.
The following statements:
Response.Write Round(61.865, 2) & "<br>"
Response.Write Round(61.855, 2) & "<br>"
Response.Write Round(61.845, 2) & "<br>"
Response.Write Round(61.835, 2) & "<br>"
give me the following data:
61.86
61.86
61.84
61.84
But...
Hi all,
How to limit one computer can have only one connection with an ASP page program on the server.
The reason I asked this question is: a couple of times, users opened more than one asp program in the browser
at the same time, the session variables in one browser is picked up by another...
Hi all,
I saw many web sites display the first asp page again
after you leave the form idling for a long time.
(in the case of you are in the middle of the entering data on forms)Can anybody shed a light on me?
Any clue will be fine.
Thank you.
Betty
Hi all,
I have asp program created a pdf file on the fly.
After the pdf file is created, I would like to open the pdf file automatically for user instead of click the link on the page. I tried, but it's not working, any clues?(The file is there, user can open it manually)
My code is like this...
Hi all,
I have asp program created a pdf file on the fly.
After the pdf file is created, I would like to open the pdf file automatically for user instead of click the link on the page. I tried, but it's not working, any clues?
My code is like this:
<HTML>
<HEAD>
<TITLE># Print Brochure</TITLE>...
Hi all,
We usually provide a link to our agents with their specific agentCode to our default page,
say www.xxx.com/study.html?12345
With this id 12345, we can give credit to agents for their clients buying products on our site.
It doesn't matter what pages they are browsing on our web site, but...
Hi all,
Before I always had one button on one page, when a use click it, it brings the user to the next page.
Now I have a quote page, it asks a user to enter some data and then give the total price of his choice. But I was asked to display all other three optional choices with its price for...
Hi all,
How to display a page similar to "page expired" which can prevent transaction errors when a customer left a page there for more than 30 min. and come back, submit data entered more than 30 minite ago.
I just see some eCommerce web sites have that functionality. Don't know how to do and...
Hi all,
I have javascript in an asp file worked fine until today. I don't know what I did to the file and messed something.
Whenever I click calculate premium button without any data in the form. The checkInput javascript function is not called anymore(before it works perfect). And in...
Hi all,
I have the following javascript in a asp file.
<script language="JavaScript">
<!--
window.onload=function() {
if (<%=inumberofQuoted %> != 0) {
//alert(parseInt(<%=inumberofQuoted %>));
<%for k=0 to inumberofQuoted -1 %>
//alert("I am here");
//alert(<%=k%>)...
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.