Loading Time
I have an ASP file that eastablishes two connections to a SQL Server and produces two Record Set objects. I am using IIS to develop and the SQL Server database is on the same computer.What I am developing is a message board, so there is a form on which information is submitted. The first connection and recordset puts information from the form into the database table, and the second connection and recordset pulls out 10 records from that same table and should write out some information from the recordset.
The problem is when the form is submitted, it takes forever for the next page to load. I am not even sure how long it takes, because the longest I waited was about 5-10 minutes for it to load, and it still would not load so I closed the browser.
Are the two connections or two recordsets too much for the server to handle, or am I doing something else wrong?
View Replies
ADVERTISEMENT
I store default information for a particular web site. Everytime a user accesses the page, the table is queried to display the correct links, graphics, etc. What I would like to do is when the web starts (or the first time a user comes to the site) query the database for this information and store it in some session. Then when any other user comes, it pulls from the session rather than quering the database every time.
View Replies
View Related
Do you know any way to load a page, wait for 5 seconds IN SERVER PROCESS, and then redirect in the server side, - not using javascript?
What I pretend is to show a page that loads a .GIF file that appears to be loading something, and after 5 seconds redirect to results page, so users apparently think that a backend proccess has occoured.
View Replies
View Related
How to calculate web page loading time on client and send back result
to server side ?
View Replies
View Related
I would like to display the difference between the logging time
[Session("start"] and the current time [now]. In hours minutes and seconds,
I have tried a couple of things but all I see is gobbledy gook.
View Replies
View Related
I have a website that I subscribe to that allows me to track tasks. I have an extra computer with a big monitor that i want to always display the task list. the problem is after so many hours I get logged out.
I need to need to reload that sign in url every few hours Code:
View Replies
View Related
there i was just windering how do i compare a date/time vlaue in sql server agaisnt the computers' date/time.
for example, if computer date/time is two months or 2 weeks before the database date/time do something
View Replies
View Related
Currently working on a ASP for a friend, which requires the date and
time on it. It pulls in entries from an Access Database with dates and
times in the format of:
"Fri Oct 17 18:02:46 2003"
However my date and time on the ASP page is displayed as:
"Friday, October 17, 2003 18:02:46"
using the script:
"<%Session.LCID = 1033%>
<%=FormatDateTime(Date(), vbLongDate)%>
<%Session.LCID = 2057%>
<%=time()%>"
Anyone know how to change this script, fully or partly to produce the
date and time on the format that's in the access database i.e. "Fri Oct 17
18:02:46 2003" Code:
View Replies
View Related
I am working on a database that collects information about incidents. One of the fields that people enter is the time of the incident. I am trying to convert that string that people enter into a OdbcType.Time and I am at a lost.
View Replies
View Related
How will we convert the system date & time to other timezone for eg: Eastern Time zone using ASP?
View Replies
View Related
When the Form is submitted I use the Date() and Time() functions to put the date and time into the Body part of the e-mail. The time reported is three hours earlier than the time at which the Form is actually submitted.
I understand these functions are evaluated on the server so the server must be in a time zone three hours earlier than where I am . Is there any way I can get the local time at the location where the user is actually located. ?
View Replies
View Related
Any some tools or sample codes drop down asp script execute time and
database connection time ?
View Replies
View Related
I'm trying to do a very simple code that converts the server time into a time zone of your choice.
<%
dim h 'Current Hour
dim i ' Time Zone Increase - add or subtract hours
dim r 'Result Here
h = Hour(Now)
i = + 2
r = h + i
%>
but obvisouly i'm having trouble with the time zone convert.
View Replies
View Related
We have a web server running IIS 5.0 that will not load
any file with an .asp file extension. The server
loads .html just fine, but all links to an .asp file end
up timing out.
View Replies
View Related
Is it possible to create a loading bar with ASP? I am thinking of displaying the loading bar while my customers' requests are being processed (databse update).
View Replies
View Related
I have a an ASP page on which i wish to load dynamic text by way of a dot text file.
It would be great if something like.-
<txt scr = "MyTextFile.txt">
existed but life aint that simple, or is it?
View Replies
View Related
i want to load an id from a table in the db how do i do that?I am scripting in asp?
i tried this but it wont work.
SQL = "SELECT * FROM users WHERE id=Request("id")"
View Replies
View Related
before displaying any page i want to show message pls wait page is loading. its written on browser. i think meta tag will do this?
View Replies
View Related
I have an asp page which takes approx 1 min to load over the network due to how much data it has to deal with.
If someone was to press stop on the browser i assume it doesnt close the connection to the database is there anyway to ensure it does?
View Replies
View Related
I've got an asp page that is set up in with two frames. The problem in question pertains to the main frame which contains a simple 'response.redirect' line that redirects the visitor to a different location. Other than this line, everything else are tags and no asp-oriented code.
I've tested this on a couple of computers, and it works fine. However, there are a few other computers in my office where the redirect just hangs and doesn't load the redirected page (i.e. the status bar states 'Open http://someurl.com' and stays like that)
Is this a problem with using the asp line, or is it a computer setting/browser setting I'm overlooking?
View Replies
View Related
is there a way of loading pages into a div i have created a review server where people can upload folders of work the create a start file, ie an index page on a microsite..
i then want to show this page within my page.,,, i dont want to use frames or i frames, can this be done by loading the page into a div?
View Replies
View Related
im not sure if this is possible, but how do you load a file in asp? Basically i want the user to choose a .mdb file from their file system and then set that file as the "master databse" to be used in the website!
View Replies
View Related
Is there a way of while the ASP script runs some text is in its place saying Script Loading
e.g.
user click
Script Loading
Message Shown
Script done
Message Dissappear
Script Appear
View Replies
View Related
Why would the following code execute in VB6 but hang indefinately when
exectuted in an ASP 3.0 page?
Set VLReceive = CreateObject("VLCTI.VLReceive")
This line is invoked in the following context:
<%
Dim VLReceive
Set VLReceive = CreateObject("VLCTI.VLReceive")
Set VLReceive = Nothing
%>
Is it the setup of the virtual directory or something?
View Replies
View Related
did anyone know how to do the loading page when the page are not load complete?
View Replies
View Related
I have a asp page which pulls alot of data back from a SQL database, is thier any way to show the page while its loading.
I did some diging and found this:
<%
response.buffer=true
response.flush
%>
View Replies
View Related
in what condition will lead the the ASP page run too slowing.
View Replies
View Related
Would like a loading page to appear for asp searchs/form submitions similar to the sheddev search, whilst the results are being returned you go to a different page saying "please wait whilst page is loading" and when the results are returned you are directed back.
View Replies
View Related
I have put together a logon page and successfully tested it on localhost, but once uploaded, it ceases to behave normally. Instead of displaying the page, Internet Explorer puts up a download file box, asking if I want to Open or Save it. If you'd like to this in action, go to www.bpfe.org.uk/mtdlogon.asp. I'm sure I've seen this before but I can't remember what causes it.
View Replies
View Related
What I would like to do is having a page on the server that automaticaly load itself every X hours. Is there anyway of doing this? I need this in order to update my database and execute some asp code.
View Replies
View Related
I have a HTML Page with iframe in iframe I am loading some another domain website from our webserver but at the client it is taking to load. Can some body let me know how show a loading message for it and when i will know by programming that site fully loaded.
View Replies
View Related
I have moved our sebsite to a new 2003 server & now my asp pages won't work.
Where/what do I change to allow asp pages to run?
View Replies
View Related
I have one ASP page. During opening this page its taking some time to open as its has to process some asp code. I want to display some animated gif or text showing that page is loading or please wait...or some thing like that.
I put image and text on top in file and then asp code but its not showing its only showing non asp part when its finishing the asp processing. I tried with response.buffer = false too. but no luck. Is there any way that I can show some text during asp page is loading or processing.
View Replies
View Related