Main Point Of Loading Speed
if a page always have some picture that totally have near 250k does this a main point of affect the loading speed?
View Repliesif a page always have some picture that totally have near 250k does this a main point of affect the loading speed?
View Repliesi have a problem with differentiating these
response.redirect()
server.transfer()
server.execute()
do they all perform same?
Dynamic Content - Is there a way to keep information in some main memory pool in IIS so that each thread of execution (each visit to the site) would have access to it. I do not want to hit the db every time a visitor hits a new page on my site?
View Replies View Relatedif there's a better way to seperate my asp code from the main layout? like to have an index.asp(solely the layout and design) and just include other .asp files to display the records.
View Replies View RelatedThe Include file '../main.asp' cannot contain '..' to indicate the parent
directory.
I think it is refering to the fact that I have a file called
communication.asp, and in that file there is a line:
<!-- #include file=../main.asp -->
This LINE should not contain '..' to indicate the parent directory
On the other hand, reading the message as it is written, we see that it
says: Code:
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?
I have a main window which shows all records from a table. When a user clicks on "Edit" for a record, a popup showing information of the selected record is displayed.
The user then changes the information on the popup and clicks "OK" button which calls an ASP page to update that record in the table. Everything works with no problem up to this stage.
My problem start after the update process. I need to know how to close the popup and then refresh the main window showing the updated information....
I am using JQuery's thickbox 3.1 and ASP.
I want perform : click a link in main page, then pop up a form in div window by thickbox, after I sumbit this form , div window disappear and go back main page.
My problem is : after I sumbit the form inside div window, form is sumbited , but still in div window!
How can I make it jump back to main page after I submit ?
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
trying to use CDO object not working, have tried to set up default mail account which works ok, but CDO not piping through it. any know of any way to point CDO to box's mail account or something like that?! annoying coz CDO works ok on myother box, box not working on running SBS 2003.
View Replies View RelatedI'm wondering something about global.asa. We have a stats package that has been written for us. It tracks sessions by tracking session IDs rather than IP addresses, because this is much more accurate (tracking by IP can only give you an average guess at numbers of sessions).
The problem we have is that static HTML pages do not create a session ID. It remains as "-" in the log. I'm wondering if we can use a global.asa file to force IIS to open a session? The thing is, this will still be useless if global.asa only runs when the ASP file is requested, rather than when the first site file is requested.
So, now you have the background, the question is quite simple:
Does global.asa run when you first hit a site (ie: when default.htm is called) or does it run when you first hit an ASP page (like search.asp)?
Obviously, in the latter case that can mean that it's perfectly feasible for someone to spend half an hour on a site and never actually fire the global.asa or trigger a session, which is a rather fundamental problem.
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 RelatedWe have a web site IIS 5 (on Win2000k) with Oracle 9i backend (Sun unix).
There is 1 user ID to oracle(APT_W3) that is used by all users (50).
We have a global.asa file that has one APP Start connection string using OLE
DB:
Application("dbConnString")="Provider=MSDAORA.1;Password='SDERSD';User
ID=APT_W3;Data Source=CCEWSDD1_new;Locale Identifier=1033;OLE DB services=-1"
The first page that a user sees asks that they select the area they want to
see (western, northern, etc) from a dropdown menu. Once they select it and
hit save they can go to other pages, session varibles indicating what area
they selected are then passed to pages. Currently all areas are in one
database.
What we want to do is have areas in separate dbs, a northern one, a western
one.etc. Each will have separate user ids (APT_W2N, APT_W3W,etc).
We want the users to have the web page presented to them where they select an
area. Based on the area they select, the appropriate conneciton string will
be used (the one in the global asa). Code:
I am just starting to think about adding a db to my Webs. I want to use a db
to change pages within various Webs and subwebs by scheduling these pages
ahead of time so the pages will already be loaded (visible) when a visitor
arrives. Sometimes I will need to replace one exisitng page with one or more
pages for the scheduled time period.
After the time period has passed, I want the Web or subweb changed back to
what is was before the original change took place automatically. None of the
Webs or subwebs will require any ecommerce or tranactional capability.
I have the following code in a script:
' Pecentage Interest on Loan
YearlyInterestPercent = 6.5
' Get Annual Interst Rate from Interest Percentage
YearlyInterestRate = YearlyInterestPercent / 100
' Divide Yearly Interest Rate by 12
' to Get Monthly Interst Rate
MonthlyInterestRate = YearlyInterestRate / 12
These values are supplied by the user using a form but I made them static for this example. For some reason, when dividing the Yearly Interst rate by twelve, MonthlyInterestRate equals 5.41666666666667E-03. The result should be 0.005416667. Does anyone know what I can do to correct this?
ok i have a number lets say its 36 and i want to divid it by 150.... 0.24 returns... i want to change 0.24 and make it a percent to it would be 24% how would i do that...
View Replies View RelatedThis 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 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.
have a 'money' field in the SQL 2000 table that users enter 200 (for example
which represents �2.00) without the decimal point, what I need is to have a
command or something that adds the decimal point before the last 2 digits,
so user enters 200 and the value stored in the table is 2.00 bearing in mind
that this value could be anything from 1.00 to 50.00.
anyone have a quick example of using insertion point of data with MSWC.Tools ?
e.g. how can I send data to "div" tag ?
Set oTools = Server.CreateObject("MSWC.Tools" )
oTools.processForm "output.asp", "template.asp", "<div>"
How can change the mouse point to Sandglass?
View Replies View RelatedI have a asp page which is pretty long. This consitst of various recordsets. My intention is to stop execution of a code at a cetain point and test one value prior to this point. Is there any way to do this?
View Replies View RelatedI'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 Replies View RelatedI have created a web application using ASP with VB.I would like to export some of my web pages (.asp page) to Power Point slides and view it as power point presentation.
will it be possible ?
anyone have an example of using insertion point of data with MSWC.Tools ?
e.g. how can I send data to a "div" tag ?
Set oTools = Server.CreateObject("MSWC.Tools" )
oTools.processForm "output.asp", "template.asp", "<div>"
I am trying to solve the following exception. The exception occurs when my
ASP.NET code behind code attemtps to access a remore site using SSL. Please
note that all certificates are valid and the remote site is trusted. Also, my
web site uses a custom HTTPModule implemented in a DLL named Security.dll.
Unable to find an entry point named EnumerateSecurityPackagesW in DLL
security.dll.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information about
the error and where it originated in the code.
Exception Details: System.EntryPointNotFoundException: Unable to find an
entry point named EnumerateSecurityPackagesW in DLL security.dll.
I am curious to know that if given two strings such as
http://www.domain.com & http://www.domain.com/somepage.asp how could I compare those strings to see if they are from the same domain? I am setting up a link exchange that requires a person provide their url and a verification url where my link is located. What I am trying to avoid is having someone do this:
www.theirdomain.com & www.someotherdomain.com/links.html whereas the second domain may have a link to my site but it is not related to the entrants domain.