Speed Test/benchmark Page Generation
I'm pretty sure this is possible in ASP, something about making CPU time markers and then taking the difference and switching it into seconds/minutes I just don't recall how to go about doing it.
View RepliesI'm pretty sure this is possible in ASP, something about making CPU time markers and then taking the difference and switching it into seconds/minutes I just don't recall how to go about doing it.
View RepliesThis page takes awhile to load which is probably due to the queries and the way I have it outputed. Anybody have any advice for speeding this up? Code:
View Replies View RelatedWhat's a way to do a: Page generated in X.XXXXXXXXX seconds.
The code to show how long it took the page to generate in seconds ?!?, if you get onto the main page of this site, www.tgplus.net and loom at the left had side, it tells you how long it took the page 2 generate.
View Replies View RelatedI am building a shopping cart where orders are send by email. Even though it says it's sent, I receive nothing. So I did a test script to send an email using CDO since we are using an exchange server for email and it's on the same network as the site. Code:
View Replies View RelatedI have created a quiz with 14 questions that the user can click a yes radiobutton or no radiobutton. In the code-behind I have set a varable to store the selected items.
What I have taking place is if yesRadiobutton is selected the variable is incremented by 1. then after all the radiobuttons have been added up. i check the variable using an if statement. Code:
I use the ASP page to test whether the connection of SQL Server is fine. I use windows authentication. I get fail when I attempt to use hostname of the destination server. Contrary, I get success when I attempt to use IP address of the destination server. Does anyone know how to fix this issue?
View Replies View RelatedI've been trying to create a test site - The site uses ASP with VBscript and talks to SQL Server 2000. I was able to complete and test it on my locally on my computer using Microsoft’s IIS 5.1. The website communicated fine with the database on the webserver/network server
However, when I tried to save the site from my local computer to the wwwroot folder in the server’s IIS hoping to make the internal site available to everyone here the resulting error comes up when we try to open a page with a recordset connected to the database: -
Our Error: -
Microsoft OLE DB Provider for ODBC Drivers (0x80040E4D)
[Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user 'AUMBSDDSSIUSR_AUMBCOMP'.
/mysite/htm/test2.asp, line 8
The page calls on an include file
Code: ....
How do I test a "timeout" error when pulling an .asp page? How do I
raise a "timeout"? How do I "catch" a time out using VBScript with
ASP?
If I want to get the number of rows returned from the database along with the contents, I would assume that GetRows() would be the best way, and then doing a UBound(myArray,2) + 1 would be the best way to give me the number of records.
If I do NOT need the actual database info, but I just need the number of rows, should I use GetRows or COUNT(ID) in my SQL or what?
my asp pages use mysql db...i got 40 tables.
mostly the site system uses 7 tables only...
in the past i used access mdb database but after this 5 tables fulfilled with something like 10000 records it was so slow i could read a book before it moved...
then i moved to sql...
now the question is for who had/have asp pages connected to mysql with more than 50,000 records...
how is the speed? can you see the speed diffrence with the growing of numbers of records?
if i got slow speed when i ask my asp pages to show me some records, is that because i got more than normal number of records inside one table?
80,000 records inside one mysql table sounds to you normal?
I am about to implement an online auction system similar to ebay. I am debating between two products. One is PHP the other ASP (PHP Auction and Rainworx).
I typically like PHP better, because I've noticed ASP always seems to turn up an error (even on professional sites), but the ASP system has more of the features that I need.
Can anyone tell me the pros/cons of ASP vs. PHP? My largets concern is speed. Is ASP fast? and is it reliable? I've heard something about the code breaks down over time, etc.
I are there ANY secrets in sql 2000 to speed up this process on the webpage? I tried using indexes... expanding the timeout... it is still too big and we cannot archive any records.
View Replies View RelatedI'm using get rows to build a table for a calendar. The specific view for this calendar is for an entire month. Each appointment slot is one half hour long. If I were to generate a page for the month of november I would have to check and see if an appointment is scheduled for each appointment slot throughout the entire month. this is 240 slots! At this point I've written it so it only checks for an appointment if a particular day has an appointment, even so, with only 20 or so appointments scheduled for the entire month, it's taking several seconds to return the results.
I was thinking it might be best to pay a javascript programmer to write a script that will parse through the whole mess to offload it onto the client. What would you recommend?
The code below is searching a ms access database that contains approx 53,000 records. This code go's into the data and extracts the files pertaining to this customer but the scripts takes approx 40 + seconds to search. Is there something different I can do to speed up the process ? Code:
Dim rs, sql
Set rs = Server.CreateObject("ADODB.Recordset")
sql = "SELECT Left(CUSTNOITEM, 4) as CustNo,Right(CUSTNOITEM, 9) as CustNoI,CLASS,descrip,SEQ_NO FROM ARCPRICQ WHERE Left(CUSTNOITEM, 4) = '" & Session("login") & "' ORDER BY " & Mysort & " ;"
rs.Open sql, db, adOpenForwardOnly, adLockOptimistic
While Not rs.EOF
currently using an asp upload to upload file into server, but finding it the transfer speed quite slow, anyone know the faster way or script to upload file into server in asp? or in other language?PHP?
View Replies View RelatedJust wondering if anyone knows how to determine someones connection speed in asp the reason for this being so i can redirect the user to a different media file depending on their connection speed.
View Replies View Relatedis any idea to find client connection speed like google analytics report on connection?
View Replies View Relatedif a page always have some picture that totally have near 250k does this a main point of affect the loading speed?
View Replies View Relatedi m trying to write a script for sending email to many people at a time and i m getting the email addresses from database .my script is working but after sending to 8 or 9 people script timed out.
now how can i increase the speed of sending email almost to 60000 people.my script is here.
i want to generate bill for a user which needs to be in pdf format. so, i came across fdf toolkit......but i am not able to understand how to use it....i looked at the 15seconds.com sites.....also but no help. so, if anybody can give a nice tutorial for this, i would be very thankful.
secondly, is it better to use this fdf toolkit or third party pdf generating tools like asp-pdf from persits inc, aspeasy pdf...etc. if yes, then which tools are the best.
my requirements is that the pdf file should be generated from the database and also from the form....both.
Is there any way to generate a pdf document dynamically using ASP?? My client want a letter to be generated in pdf. I am able to generate the letter in rtf. So a method to convert the rtf to pdf is also fine. Is there any way to generate it using a library function or built in object (with out using Third part toolkit). Even if using any object library.
View Replies View RelatedI want to do it with an external stylesheet. I know I could do this using an internal stylesheet and if I can't crack the problem soon, will end up doing so.
Basically, I have a database table with site information, for example the site logo. What I would like to do is something along these lines: Code:
Does anybody know How can I generate Images from ASP?
View Replies View Related.CSV File Generation in ASP Hello, I am able to convert recordset into .csv file and download it. My problem is how I can display message to user that file download complete.
View Replies View RelatedOk, I currently have an ASP application. In this application, an administrator will need the capacity to print reports of the data stored in a MySQL database.
Let me note now that this is a college project, and I can only basically do what I am allowed to, rather than having full control over the server and making any necessary changes.
The problem is, I don't have permission to write files from my application. How dumb is that? Anyway, I need an alternative way. Are there any ASP PDF converters or any similar that I can query the DB, get the necessary data then present it as a printable document?
A temporary .txt file would have been sufficient, but now that that is ruled out, I need to find another way of doing this.
I'm trying to sort a list of 10 people into two groups--RANDOMLY. I've gotten as far as to generate a random number and assign a name to it. I just need to know how to generate 9 more numbers, making sure no numbers/names repeat. Code:
View Replies View RelatedIn a form that is supposed to work online, my user would enter values in say 15 fields. Now when I click "Submit" button, this should create a table at runtime.Next,whenever this button is clicked,this table should be re-generated.
View Replies View RelatedIs there any way to create automatic generation number like, INW001.......INW002.... ans so on without using any code in ms-access using "autonumber" type with default value.
or
Can you give me the code for creating automatic generation of numbers for a column IDNO , using alphanumeric.
Eg: INW001 , Next should be INW002 ,....... INW010 and so on
Can anyone offer advice on how to make session ids not as predictable as usersession = session.sessionid?
View Replies View RelatedHow do I generate an email through outlook? My program now needs to send out an email to an outlook distribution list. Unfortunately, I neither know how to send an email through ASP let alone sending it via Outlook.
View Replies View RelatedCan anyone here suggest me a solution to solve my follwoing problem?
1) I got a .aspx page and on that page i got a combo box and a command button.
Combo box displays records from the database.
I wanted to generate a report which is based on the record that user selects from the combo. The report is designed using crystal report correctly and saved in Inetpub
folder... Code:
If I have 5 variables "SUB_1, SUB_2, SUB_3, SUB_4, SUB_5" and I assign them values from a SQL2005 database..
SUB_1 =(UPDATE.Fields.Item("SUB_1").Value)
SUB_2 =(UPDATE.Fields.Item("SUB_2").Value)
SUB_3 =(UPDATE.Fields.Item("SUB_3").Value)
SUB_4 =(UPDATE.Fields.Item("SUB_4").Value)
SUB_5 =(UPDATE.Fields.Item("SUB_5").Value)
I have a WHILE LOOP generating a dynamic table from a different database table
Code: ....