I need to capture the Script timeout error if that is possible. I know I can increase the timeout value in the server settings or in the scripts itself but I really want to make sure that no timeout situation will results as the standard script timeout error page.
I have an online B2B shopping site that I created using ASP. Because the order sheet is different for each customer, they must log in to access their online ordering site. My question is, is it possible to capture a session timeout when it happens and tell the user?
We are having problems with customers leaving their desk after they have logged in, coming back and filling out their order sheet and then submitting the sheet only to find out that the session has timed out. They then have to go back in and re-enter the products that they are ordering.
Microsoft OLE DB Provider for ODBC Drivers error '80030e31' [Microsoft][ODBC SQL Server Driver] Timeout expired
/poststatuscheck.asp, line 39 <-- this would vary
So I searched and found that changing this
cOperations.Open ("DSN=Operations; user id='uname'; password='password'")
to this
cnOperations.Open ("Provider=SQLOLEDB; Data Source=x.x.x.x; Network=DBMSSOCN; user id='uname'; password='password")
makes it work like its suppose to.
The questions I have are...
What is the difference between these two types of connections? I know one uses data source and the other dsn.
Should I be concerned about security with this new method? Should I be concerned with anything in this new method? Is it possible to fix the old method?
I have a site that utilizes online forms. The problem is people could easily spend well more than 20 minutes filling out the forms before submitting them. To avoid the default timeout of 20 minutes (or whatever) I added a Session.Timeout = 120 to the forms page. I also checked IIS and set the connection timeout property to 120 minutes as well.
sessions still seem to be timing out well short of the 120 minute cutoff. (I haven't yet tested to see if it's still 20 minute default or somewhere between 20 and 120).
Is there anywhere else this setting might be controlled? Is there any simple way to do some sort of "keep-alive" from the page so that the server thinks it's active?
I've been getting a lot of harrassment emails on a web form recently and I want to display/capture the users IP/host header(not sure if thats the right term.but I know you can do it in IRC if possible.Does anyone know a free script for this?The form is in ASP not .net
I want to amend my form so it displays the IP/hostheader similarly to this page.
Is there a way to capture the name of a form on the receiving page. The Request.form collection only has the names of the objects in the form (as far as I can see), not the name of the form itself?
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.
I am sending a form to UPS and upon successful completion of the form, the UPS sends me a single output containing several variables and their values on the screen. I need to prevent it displaying on the screen, save it in a variable and then extract information I need and display those values with my format on a table. How can I do that. I heard in ColdFusion there is <CFHTTP> that does that. Is there equivalent of this in ASP.
i am assigned to do a database project.i am asked to use dreamweaver mx and ms access.my problem is i dont know how to capture the data from database and display it in the interface.the language i had to use is javascript.
I am running in a Windows 2000 environment. My workstation is runnig XP Pro. I have built an issue tracking system in Frontpage 2003 using the Database integration wizard.
I need to capture login credentials using public system variables. In the attached MDB file I have written VB code to pull userid. However, I can not figure out how to access the code within the VBSCRIPT OR THE HTML CODE PAGE. I also cannot figure how to write the same code using vbscript instead.
I have 3 listbox in which I call a submit to its own page (page1.asp) for some validation. Then I have another 2 text field which I call submit to "another page" (page2.asp). When I call onChanged() of the list box, it will submit the value of the 3 listbox only to page1.asp. It will not capture the value of the other 2 text field. But I am able to capture the value of the other 2 text field by using Javascript function as follow:
window.document.form1.dept.value.
Although such, but I cant display or return the value of the other 2 text field back to the form. I tried to use session.Contents in Javascript, but it is not supported function in JScript. Is there any other way to display value of the other 2 text field in page1.asp?
Is there any way to capture a person's pc name or windows login name with ASP? I have a form that anyone can submit and article to be published to, and I just want to make sure they're being honest about who is submitting what.
I'm about to venture onto a new project of developing an ASP Page that captures images from a streaming web camera, and displays them (refreshs) the image every 15 seconds.
The question I have, is it possible to capture images (every 15 secs- from the webcam on the intranet) and store that snap shot as say a .jpg file in a folder, and then have the ability to continuously add images to this folder, so at a later date you could develop a system that would display photo after photo simultaneously, fast motion of the project in action.
I would like people to be able to send emails with keywords in the subject line. I would then like my server/website/asp page to capture the email, parse the subject and react accordingly.
I have written an asp script to pull data from fields in an access database.However it is only displaying the first word of the string.Below is my code:
I'm working on an ASP application that will be used on mobile tablet PCs. I need to add the ability for someone to sign their name on the screen and then have it converted to an image (.gif/.jpg/.png) for printng & storage.Is this even possible with a web application?
I have a client that wants to allow users to signup for a contest using text messaging. I have no idea where to start with this, so hoping someone here has some experience with this.
I have an ASP page and a CREGReports002.vbs file coded to export data to excel. I do this by building variables in a stored procedure. The ASP page has text boxes, list boxes, and radio buttons. I also placed two buttons on the form. One submits the form to redirect to the Crystal Web Viewer (genCREGReports.ASP).
The other one executes VB code in a vbs document that spawns some more code to run a stored procedure with the values from the ASP page entries that where entered into the text boxes, list boxes, and radio buttons and the launches ExcelOut.asp to export the data. All data is captured except for the radio buttons. How do I capture the radio button setting without submitting the form? What is the syntax to capture the value from the radio button? Code:
I am looking for some method to capture, into a variable, the entire URL of an http request and redirect to SSL. For example, if a user opens a browser and typed in
i need to know that when i make some asp pages in .NET then i arrange all the contents such that it would capture all the space in the browser window. but it leaves some space emty when i run this page in Internet Explorer. please any when let me know that hw can i slove it?
Greetings- <br><br>I have a site that is kind of a portal site- many sites within a single site. Users of the site must use a single logon page that redirects the user to a predetermined "subsite".
Each "subsite" has a few different session variables that are used in varying ways to display information germaine to that user. <br><br>My customer (the portal owner) wants users to be able to render any page on the site to a .PDF that is then sent via email to the user.
I can render an HTML file to PDF via a .COM object, but the problem is that I cannot figure out how to render the .ASP page to HTML. My initial thought was to use MSXMLHTTP to GET the page, but when I do this, the GET method always returns the logon page.
<br><br>What I'd like to do is have a link to a processor page that just "captures" the HTML as it's sent to the browser and writes it to a static HTML file, which I can then easily turn into a PDF. Anyone have any ideas?
I am running an application in Windows Server 2003. The clients with Windows XP Professional will access the application through the web browser. Can I know how can I grab the Windows login information like username DOMAINUSER1 from the client and apply it to the login credential in my application?
Iam trying to capture windows closing event (i.e) when the user clicks on the "X" button i want to capture that event and want to update some values in the database.I tried two methods but iam getting problems with the two methods. Code:
I'm brand new to this forum AND learning ASP via problem-based learning (not the easiest or sound way to do so, I know).
In any case, I have a form that uploads an image to my server. It does so via a form action to a new asp page. The new page has a link back to the original page. On the original page, I want the name of the file to appear in a text field e.g. Code:
Basically I need to show an image in a web browser (easy enough) I need to be able to track Mouse X & Y positions..Also OK, I have found some javascript to acheive this, but here is where the problem lies, the user must somehow click on this image & I then need to automatically record, display (graphically would be preffered) & send this info to a database !! Can NE1 out there do this How & where would I start?
I have an asp page that is producing a report via some heavy SQL queries with dynamically chosen parameters from the users of the page. I can run it on my development server (takes about 35 minutes to produce) , however when it is run on the production server it will execute for about 3 minutes, then bring me to a Page Cannot Be Displayed.
I think this might be some sort of timeout, but I have no idea as to how to stop it. I've changed the timeout property of the Server, I have even put in a buffer flush if the client isConnected.
I am using sql server 2000. From the asp page i am calling a stored procedure that does all the processing that includes:
1. create the query dynemically according to the selections made by the user. 2. run query 3. if records found, create a comma delimited list 4. pust that file on a file server, from where the user can then download the file
it return -1 if an error has accoured, 0 if no records are found, or file id if the records are found and file is written and moved to its location successfully.
i have increased the script timeout time to 800 ...
the default timeout for inactivity is 20mins, but in my application the clients are asking that if they are half way through an 'add a new record' page and disappear for 30 mins, when they come back the screen doesn't tell them they have timed out but lets them continue typing and its only when they hit 'submit' do they find out they have timed out. This then screws up the insert into dB type query and the data is lost. So what I am trying to figure out is a way (using asp if possible) to count the timeout inactivity and 19 mins in to go to another page (timeout.asp) which tells them that the session has timed out and that any data has been lost etc etc, this will then provide a link to the login page. The way the system is set up at the moment is that each page has a login script attached but is only shown if the session is valid, which has been working well. Does anyone have any bright ideas/links/tutorials etc