I have created a nice funky 500 - 100 error page which gives a nicer error; happily loops through and supplies querysting information, all headers, server variables..etc but it has a limitation. On a normal error page you can always use a response.write then
response.end to look a the value of a local variable.
What I would LOVE would be to be able to loop through all the local variables (not
form or querystring, they're sorted) on the previous page and display their values so a developer would see the complete state of the page on the error page without having to use any on error statements. Has anyone achieved this, I can't think of a way at all.
I have a pdf form that is submitting to an asp 3.0 page. I am setting a cookie value at login time that I need to access in this processing page. For some reason, the cookie is not being detected on that particular page but is being detected on other pages on the same server when I test for it. This problem only occurs on the processing page when I post to it from the form. If I navigate to it directly, the cookie is detected. This is happening no matter what version of adobe reader or acrobat is used.
I'm having some problems getting variables to spit out the info I need.
Do While LoopCounter +1 < Session("TeamPop") LoopCounter=LoopCounter+1 %> <td><input type="text" name="Reliable<%=TeamMember&LoopCounter%>" maxlenth="40" size="8"> </td> <% Loop
Now if this executes three times it should generate three input boxes with names Reliable###### where each box is named Reliable with a five digit number after it which is stored in TeamMember1, TeamMember2, and TeamMember3. Unfortunately I just keep getting Reliable1, Reliable2, and Reliable3. Code:
I am retrieving some values from the database using ASP. I need to assign these values to a dynamically populated select menu in an HTML page using Javascript.
How can i access the ASP/VBScript defined variables within my javascript function?
I want to be able to client process of the ASP page to get the value populated in Request("rssFeed"), how can I do this because the Request object is not available to the Client-side.
How to store form's textbox values in VBScript variables? I tried something similar likr this: Dim myVariable myVariable=Document.myFormname.myFieldName.Value
I know that cookies can store an array of values, which can be accessed like this:
tempid = Request("cookiename")(i)
Is it possible to use session variables in the same way? Store a array of values in the same session variable and access them on another page by indexing?
I've looked around alot and I've not found anything suggesting that this is possible.
Right now I'm using a single set of cookies to store info on a series of purchaces of the same type of item. I'm hoping to use session variables to replace the cookies.
Does anyone know for certain if this is not possible?
I am developing a membership based website for car auctions. It uses the session object on many pages, most importantly on user personal pages. When the user session ends, i.e., on logout, I use the Session.Abandon to destroy a session object associated with a particular user, and also turn a boolean variable session("Valid_User")=False (which was turned ON at the time of successful login and used on user personal pages for authentication).
But, when I go BACK and browse the previous pages, they still appear with the specific user's data, who logged in last time on the same browser. Why is it so? When I refresh the pages, only then the session variables' values are erased.
Secondly, my site doesn't allow me to login as a different user, even after logout, because I have put a check on the login page so that it doesn't allow a user to login again during his current session, which again means that the logout process doesn't destroy his session.
I have a form on an ASP page that has 5 text boxes, for data entry. I am trying to get data from the text box, and pass it to a hidden text box on the form.
The hidden text box is called "MyDateTime" (a SQL date and time value). I am attempting to concatenate data from two other textboxes (one for date and one for time) to give a string like : "8/8/2004 8:00 AM" I am trying to use the following: Code:
I want to call a recordset so you can edit the details and then obviously pass the parameters onwards into the db. However, the user guide just says this:
To process other fields in the form, use the Form collection of the upload object the same way you would use the Form collection of the Request object. For example, if your form had a text element named UserName, your processing code would include: Code:
Is there anyway I can get the information about a file on the local machine of a user that is reading pages from my web site? Scripting.FileSystemObject does not have permission to do this, and I want to check the size of a file before I try to get it uploaded.
An application runs on server, and is used for Hour-registration. Now I want to run the application local, I use SQL Server 2005, and managed to fix connection changes.
But now, I get this error everytime I run the application:
Microsoft VBScript runtime error Error Code :0x800A01CA
Error source : Error Description :Variable uses an Automation type not supported in VBScript
The webserver I'm using (which I can't make any changes to) has a Dutch-localsettings. When doing simple calculations the decimal-symbol in ASP is a , (komma). Is it possible to force IIS to use a . as decimal symbol by code? (IIS5)
I would like to evaluate some shopping cart software to use on my next project. I am new to asp and as yet my hosting does not support it. Before I go ahead and upgrade my hosting I wanted to see how the various packages work.
I am running XP Pro SP2 and have installed IIS. The folders seem to be where they should be and I have access to the settings through the Administrative Tools.
When I put a htm file in the wwwroot folder it loads fine if I type http://localhost but the asp files are either downloaded or opened in dreamweaver.
Do I need to do something special to enable asp files to open on my local machine??
I'm not a networking/IT guy, but I was put in charge of figuring out how to use ASP to tap into an Oracle db for my office. I am using a windows 2000 laptop, and I want to be able to run ASP code on my local desktop (without being plugged into a network).
I need a lot of help here. I know I have to turn my computer into a webserver, but I'm not certain what I need to do with the IIS. What do I need to do in general to make my computer a webserver? In addition, I will be using a local Oracle database. So I wasn't sure what I would need to do to make that db available for querying with ASP. What is the best way to make that connection?
I am running this code on my local IIS and everything works fine. The code detects the file I select using the INPUT TYPE=FILE. The problem is that when I move this code up to my host’s web server, it never works as in it never finds the file. It is the exact same code so why is it working on my local IIS but not on the web server? It is ASP code.
Code: set fso = createobject("Scripting.FileSystemObject")
If fso.FileExists (strValue) then 'File exists continue with code Else Response.Redirect("aspError.asp") End if
I am trying to set up an internet page on our intranet that contains logoff/shutdown and restart buttons.This needs to work in a remote desktop situation which rules out various options.
Next stage is to call this .exe from a webpage...which I'm struggling with. My test code (to test a reboot) is below but doesn't seem to work. Can anyone help remembering this needs .exe needs to run on the local machine and not the server.
How do I execute a users program from a web page? When a user goes to a webpage - I want a link on that page that will execute a program on the users local hard drive - like say...notepad.exe . Everything I have tried will only execute it on the server.
have an SQL DB which clients access via asp pages through the internet, in the case of a power outage I need to write that data automatically in the background to a txt file on their local machine, I would imagine it would involve a script of some kind.
is anybody know how to capture lan id(localhost id ) address in lan. u can check the same under dos using command ipconfig. but i am not geting the same id using bewlo code
I am wondering if their is a strategy or tool for syncing a local database with a web-based database? Specifically I have an application where orders are entered via a web form and the data emailed to my client who processes the orders. I extract the order information and update a local "order tracking" database. There are several order processing steps.
I want to update a web database to reflect the status of the order as it flows through the local tracking application. I will send an email to the "orderer" at the major steps, but my client wants to have a web-based report shows the status of all orders for a company that has pending orders. In other words a company will enter multiple orders and will be able to track the status of the orders by signing on to the web site.
This status report gets its data from the web-database.....which I must update from the local tracking database. A pretty long winded explation which I hope mades sense. Has anyone found a solution to this problem? Any reference or tools you can suggest?
While I know within visual studio express 2005 it's easy enough to test and connect to SQL Express 2005 database's I ask can standard ASP connect to this also? I will be attempting from localhost IIS as obviously visual stuido does not host ASP sites.