IE End Up With A White Screen
There is a problem which confused me for a long time. I have a web application built by ASP running on IIS, and most time it's OK.
occasionally when IE send request to IIS and then receive HTML from server it will stop with no reason. IE shows a white-screen and then I check the HTML source and find that only partially received. After I press F5 everything is OK again...
View Replies
ADVERTISEMENT
My site seems to preload everything prior to displaying itself. I get a white screen for a couple of seconds and then, bam!, its all loaded and displayed.The same happens when the user navigates around the site. In between each page there is a white screen and a delay.is there anything I can do to minimise this white screen delay?
View Replies
View Related
when it writes the varFault option to SQL, there is lots of whitespace written too!I have tried the Trim option but to no joy
<%@LANGUAGE="VBSCRIPT" %>
<%OPTION EXPLICIT
Dim objConn, strSQL, objRS, varName, VarExt, VarFault, varDept, strSQL1, objRS1
Set objConn = Server.Createobject("ADODB.Connection")
objConn.open Application("helpdesk")
varName = Request.Form("name")
varDept = Request.Form("departments")
varFault = Request.Form("txtFault")
strSQL = "INSERT INTO new_calls (Name, Department, Fault) VALUES "
strSQL = strSQL & "( '" & varName & "','" & varDept & "','" & varFault & "')"
strSQL1 = "SELECT * FROM new_calls "
strSQl1 = strSQL1 & "WHERE call_id= '"'
set objRS = objConn.Execute(strSQL)
%>
View Replies
View Related
Say I have a 'Mc Paul' in the database, what would i need to do if the user searched for 'McPaul' how could i pull that record out of the DB.
View Replies
View Related
Does anyone have an example of how to replace all whitespace at the end of a string?
I'm trying something like:
do while right(str,1) = " "
str = replace(right(str,1)," ","")
loop
response.write("str:" & str)
.... but it is killing off the entire string ...
View Replies
View Related
I was calling another asp page from my main page. The another page contains lot of code and processing But after some time my page has turned white and curosr shows that sytem is still busy. Why this happened ?
View Replies
View Related
I have two sites, one is a white label version of another. they both use exactly the same code.
The site that isn't white label works fine. Hover the white label site gives the following error:
Microsoft VBScript runtime error '800a0005'
Invalid procedure call or argument: 'left'
/list.asp, line 234
I've looked at line 234 in list.asp and it is just a SQL expression that doesn't appear to have any problems: Code:
View Replies
View Related
I am using a xml parser to retrieve and scan through some HTML from a website so that I can use VBScript operations (Left, Right, Mid, Len etc) to pick out the data that I require from the responsetext.
The code works very well and I am attempting to validate the data that the code finds by comparing it to data in a database. Below is a section of code that extracts race locations from a website. Code:
View Replies
View Related
In my ASP application, I have a chart that will popup in a
new window. From the opener window, I want to add a button
that will capture the chart to the clipboard and be able
to paste it to other application. I just want the client
area and don't want to include menu bar, address bar and
so forth.
Can I do that with pure asp without a component?
View Replies
View Related
I want to take the HTML source of a page and validate it and do certain things with it (all for good reasons!) much like W3C validators and such like do.
Trouble is:
* screen scrapes normally require 3rd pary component, and my host will not allow this
* my host does not support .net (which can do screen scrapes without a component)
My host does have cgi/perl support, so I was thinking I could:
* do a screen scrape using a simple perl script (suggestions please!)
* somehow get that to be submitted to an ASP page as form data
After that I can hack about with it as I see fit using the ASP.
View Replies
View Related
I'm trying to replace a JavaScript that checks screen resolutions with an ASP dito
I've tried the HTTP_UA_PIXELS (servervariables) but it doesn't seem to work. I haven't found how to do this anywhere and I guess it's simple but please tell me how to do this
View Replies
View Related
I need to write an application (VB script/ASP) that programmatically
operates a web site. In other words I would like to create my own interface
and use data from existing web sites. For example, the application will have
"to","from", "departaure" and "return" date fields that will be filled out by
an end user. The application then searches expedia.com, grabs results, and
displays it on my own screeen. Then a user selects flights and the
application routes the request back to expedia to book flights. The
confirmation number generated by expedia is displayed on my screen, etc.,
View Replies
View Related
This is going to sound like a really basic question, but at the moment my mind is running a total blank and i can't seem to find any reference to how to do it - but how, using VB Script, can I determine the height and width of the screen?
View Replies
View Related
Is it possible to determine a user's screen resolution?
View Replies
View Related
what i need to do is when someone hits my site, it must detect what that person's screen resolution is and according to that include a specific navigation.
View Replies
View Related
I'm looking for way to get the users screen size in asp. Including something like
If screensize=800x600 Then
varscreensize = "800x600"
Is this possible with asp?
View Replies
View Related
I am not sure that asp is a right place for that question, so gurus will move it to proper section. But as soon as I display images using aspupload the solution probably will be also in asp. I do not have problem to show them on asp page, so it is not a problem of aspupload. Its just a general asp question:
Do you know any techniques how to display full screen images without using popup window?
I would like image to take all the full screen without any browser menues or explorer menu bars. Something like you see when screensaver turn on.
View Replies
View Related
I use a little asp script to get some site statistics ... essentially logging each session into a database using global.asa.
How do I capture the screen resolution in this setup ?
I know how to get the screen resolution in JavaScript ... but how do I combine javascript and asp within global.asa ? Or is there another way in asp to get the screen resolution ?
View Replies
View Related
How do I write " " to the screen? Here's my code:
string(right_array.count, " ")
It keeps printing like this: &
I've even tried this:
server.htmlencode(string(right_array.count, " "))
I just can't get it to work.
View Replies
View Related
I was wondering if there is any possible way to do this:
I would like some application on my server go out to a certain page at specific time intervals and scrape some data from it.
I imagine it would work similar to grabbing an updated RSS feed...except without the RSS. I would then like the scraped data to be stored in a database, or a text file, or an html page so the data can be pulled into another page.
View Replies
View Related
I have 10 athletes i will be testing and displaying their information
so there will be two split screens the bottom screen where the user enters the data and the top screen where the data will be sorted to show the ranking of the athletes Code:
View Replies
View Related
Ive been looking for ways on how to do this for a long time. But ive never found a way to do it without a component! So i made a combo of asp and javascript to do it, heres how you do it: Code:
View Replies
View Related
I'd like to hear your opinions about screen resolution strategy...
Actually, we have sites which consist a set of pages...
If I decide to use code for detection screen resolution like this:
<script type="text/javascript">
var wid = screen.width; //Get the screen width
var hite = screen.height; //Get the screen height
var qs = "?width="+wid+"&height="+hite; //Create a querystring
self.location.href = "yourASPpage.asp"+qs; //Redirect to the ASP page with the Width and Height as querystring values
</script> Code:
View Replies
View Related
I'm retrieving the screen resoltion with javascript code, but i can't assign the correct value to asp. the response.write is displaying zero (0) for screen res., although when i do a document.write in the javascript part, then my screen res. is 1004 ...
View Replies
View Related
I can come up with a page that displays some information. The information will always be displayed on specific part of the page, with auto refresh. But he doesn't want the whole page to be refreshed so that buttons and images around the information do not get
reloaded each time. Is this really possible?
Other pages on this site don't use frames, so this page can't use frams too. Creating an ActiveX control is also not an option of us ...
View Replies
View Related
My coding experience comes from mostly application development instead of web coding. In the application world, if the user receives a system error, a new form would display the error, with any helpful information for the user and the application administer. This way there is a systematic way to handle errors. In the web world, how is this done?
For example, if I have a form where the user is entering data to be inserted into a DB. Is this the correct flow of pages?
-On submit of Entry form, an ASP page is called to insert the data -If insert successful, take the user to the next logical page -If insert not successful, display an error.htm page.
Basically, the entry page does not have the insert SQL and if there is an error in the insert (not because of missing fields because those are handled with JavaScript before submit), the error is displayed on a completely different page. Is this correct flow?
View Replies
View Related
Using IIS 5.0 and sometime some asp pages (absolutely
randomly) showing as blank white pages. So far only one
way of fixing it - restart whole server. Restarting IIS,
or specific web server not helping, only whole server.
I enable server side and client side debugging, but no
errors showing up...
In view source pages always look like this:
-----------------------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html;
charset=windows-1251"></HEAD>
<BODY></BODY></HTML>
-----------------------
Any idea why it can happened and how to fix?
View Replies
View Related
Our application launches a webbrowser window with a command to (more than
one) asp's on the host. The window is reused for subsequent commands.
Unfortunately, the old window is usually underneath some other window and
unaccessable from the application.
Is there (preferably) a browser-independant method to command the window to
front from the asp?
View Replies
View Related
I have a screen, screenA, from which I call another screen, screenB, with a form on it. ScreenA has an ID that is captured in a variable called strShortName. (That variable is defined in another file called into ScreenA via an include.) I want to write that name as the value in a hidden field in the form on screenB. How can I do that?
View Replies
View Related
How could I create a input area where a user could paste a printscreen into the area or press a button to grab the item from the clipboard?
View Replies
View Related
Using JavaScript, I'm able to get the user's screen dimensions with screen.availWidth and screen.availHeight. But if I want to store this info in the database using ASP code, how do I go about doing it?
View Replies
View Related
is there any asp that detects the screen size and then redirects to another page depending on the size of screen that they have?
View Replies
View Related
I would like use the Print Screen Button to copy a part of page using ASP.
En fact, I use a data access page of a chart (pivot)created by access. And I would like copy only the chart.
I think the easiest way is to use a Print Screen Button of keyboard.
Some body could help me to found a solution to control this button using ASP.
View Replies
View Related