Allow User To Update Form From Local Dsn
I want to allow users to send information from their local database to my web form. Their local database has a dsn, I am hoping that will help. Basically I am doing this because I do not want them to have to enter information twice. If I can get help populating a form on screen I can take it from there to my online database.
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Windows Auth With Local User Accounts Or SSL
I have question about whether it is best to use windows local user accounts to authenticate against when logging into a website OR using SSL for any communication sent to and from the web server. I know these are slightly different issues here, but I will explain my situation. Clients will log onto my website and will be gived user access based upon their username and password. Therefore I initially wanted to use windows local user accounts and restrict anon access within IIS. However, I am thinking it would be just as secure to use HTML/ASP webpage and database access to the website, as long as the data was encyrpted.
How To Tie RegID To Form To Update (batch Update)
Okay there is an unique EventRegID for every registration. When people first register they get pre-registered. Then an admin comes in and confirms or wait list them (based on whatever requirements). My question is how can I tie the EventRegID to a form with multipule ID's so they can batch confirm or wait list the PreReg list? Code:
Update LastLogin Field When User Log Ins
Okay Whenever a user logs in we want to track the last time they logged in. My login script worked perfect before this now I can figure it out. All I did was add the way the table opens and the objRS.Update. Code:
An Update Form
I have been creating an update table. When the form calls the current information in the database, it calls up a number of the item relationship rather than the actual name. Example: In the database there is a table called Countries. Australia is country number 5. The update form shows number 5 rather than the text Australia.
User On Form
I have created a form with simple fields such as address and phone number. I would like to, in real time, take the value a person puts in for name (ex. John Smith), check a database to see if he is there, then to populate his address fields and phone number to save the user the trouble of typing it in repeatedly. Any ideas how to go about this? I created a button for the user to "look up" to see if his info is saved but cant seem to get the syntax write. I have written similar code for the information to be put in the database, and it works, just need to retreive it while the user is on the form.
Update Form & Redirect?
I have a form and some links that are generated dynamically make up the one of the columns in my form. Here is the entire source for the form: Code:
Update Fields In Form
I am creating a form that uses a postcode lookup that opens in another window to confirm an address how would I pass back the address and populate the form?
Form Dynamic Update
The problem I have is that I need to be able to allow users select from a drop down list, but if they select other from the list, I need to show a text box where they can enter the details, otherwise keep it hidden. here is my code so far: Code:
Impersonate A User Form ASP
I have machine A and B. A hosts my ASP page which is to create a user account on the machine B. The machine are not on Domain and not in AD environment. I userstand the the web page from A is to create a user account on B should use Impersonate function to log in as the user from the machine B which has the Admin rights. So I did that.. But It does not seems to be working. I got this famous 80004005 error. I know it's something to do with permissions rights but I couldn't think of anymore. I have tried so many options.
1 Value 2 Fields Inserted On Form Update
Without writing a bible on what I'm trying to do I'll see if someone can answer a quick question. I have a form that the user writes a value in a test field. I need to put a hidden value that will take the same number the user inputs and insert it in a form. Basically, I need ... <input name="hdndkqty" type="hidden" id="hdndkqty" value = ??? /> the value of the hidden field to = <input name="num" type="text" id="num2" />
Update Record Without A Form In Dreamweaver MX
I'm new to ASP so I'm using DWMX as a crutch. It created the db connection and recordset code for me and all I want to do is have the page update the db with the result of a variable. In plain English, I'm trying to update a field called Score in the table quizOne with the results of the variable score where the username field matches the session variable MM_Username. The recordset is called update_score. Based on other tutorials and forums, I tried this: ....
Emailing The User After Form Submission (CDO)
I have these email forms (using CDO) that email the content of a form to different people in our organization. Now I'd like to also email the user after they initially submit the form to confirm that we've received their information and advise them of the next steps. My problem is that I'm trying to create 2 email instances on 1 asp page I think... which I guess is 1 session?? I'm kinda lost. How can I generate two seperate emails from one form submission? Of course, my first attempt was to just copy the original email code and change the variable names... but that doesn't work... it gets stuck on setting up the CDO config.....
Manipulating User Input From A Form
I have a HTML page with a form on it. I have an ASP page that processes what a user has entered into the form (updates a database etc). I now need a page that fits between these two pages to pre-process�the users input. I need to do it this way because I am not allowed to change either of the two existing pages. I know how to read what the user has input into the form and I know how to pass control onto the next page. What I have not been able to work out is how to change the user input and have those changes passed onto the next page as if nothing has happened (that is, the original ASP page just performs its request.form(�item�) calls as it always has but instead of seeing what the user actually typed in, it should see the changed text as created by the new pre process� page) I have tried using a regular expression replace but can only successfully make this change a variable and not the original form input. Equally I cannot find a way of swapping the original form input string with the output variable from the replace. Does anyone have any ideas on this one?
Current User That Send A Form
how can Identify a domain user that send a form made with ASP. I have see that exist a variable called currentuser, but what does it mean?
User Entered Form Data
I am storing user entered form data from an ASP page in a MSSQL 2000 database. I would like to give my administrators a way to download a tab file with the entries. Is writing an ASP page the best way to do this? And if so, how can I convert database records into a file that will download through the browser?
Dynamic Form Update Sproc Thing!
I have a page that is populated from a db. It consists of lots of drop downs (dynamic - could be 20 or 32 or...) with the option value set as a number. Basically they represent the skill level someone has in a skill which is you guessed it - written beside mr drop down. So once i click on update i awnt them to all go off to the db and update. Any idea of an algorithm on how to do this. Im aware of for loops etc but i just dont see how it would work out.
Form Submission And Thankyou With User Information
I have a query form on my website. Once the user enters data and submits it, it should be e-mailed to a specific e-mail address and then should generate a page that shows to the user that has been entered by them. For this I am using three pages: 1. enquiry.asp <!-- enquiry form --> 2. email.asp <!--gets the user data and e-mails using CDonts. I use a redirect to thankyou.asp--> 3. thankyou.asp <!-- shows the user what they have entered --> Now the problem is, when i use the redirect, the mail doesn't go any where and lands in the thankyou page without any user data. Whereas, when i take off the redirect, the data gets mailed. So alternately, I used the hidden field method in email.asp page to pass the data to thankyou.asp. This again doesnt work when redirect is given. When i take off the redirect and give a submit button instead in the email page, it works fine. How do I send the user to the thankyou page without using the submit button again on the email page and still show him all the data that they have entered. And at the same time have the data e-mailed to my mail id. Code:
Empty Form When User Clicks Back
I want to empty the forms fields when a user clicks on the back button. I wrote some js that will do this, but I can't figure out the right time to execute the script. If I do it on the submit form event, the values entered do not get posted, if I do it on the <body> onLoad event, the form name isn't recognized (the page posts to itsself). I also tried putting the js in a <script> tag inline just after the form, but it doesn't seem to have any effect.
Function To Check The User Input From A Form
write a simple function to check the user input from a form. I need to check that the string contains only numbers, has a maximum leght of say 15 and that the first number is zero.
Dynamic ASP Form - Prevent User Choosing Default
I have an ASP form which only includes an option list. The list is dynamically created but includes a default value, which is an instruction "Select a group". The code is shown at bottom. I want to ensure the user does not submit the form with the default value selected. Code:
Validating Forms - Redirecting Form Values To Update Page
I have a form I am validating on a page. Currently I have the page call itself to check the form values for validity. I want to use the form post method to send the form values to the Update page but can't because I am using the "Response.Redirect" which doesn't post the form values to the next page. What is a good way to validate a form values then direct it to an update page if values are valid. Should I use Client-Side or Server-side script?
ADSI - Trying To Enable A User - The User Add Works Very Well
I have written an ASP.NET 2.0 application that uses Active Directory or ADAM to manage account users - the site has a page that allows people to create an account (much like any site). The page populates the AD with all the information and the user account but I am unable to enable the account. Microsoft has information on how to do that here --> http://msdn.microsoft.com/library/d...ting_a_user.asp (the sample is for Visual Basic) - and I am unable to complete the bottom portion of the script. Can some one point me in the right direction - or can you tell me how I can add a snippet of VBscript code to an ASP.NET page. I am using the Active DS Type library - not sure why there are multiple ones (System.DirectoryServices) but it is rather confusing - I seem to accomplish one thing with one and another with the other (they did have trouble co-existing however). Anyway my script works very well but I am not able to access the properties required to enable the account. Here is a simple version (no error checking) of the code.....
Mail User Info To User
how to go about setting up an asp script or flash action script to take the input from a user of his/her username and password then send an email to the user with the information. I am able to do all of this but the problem is that the users pc is the one sending the email. I want the server to send the email instead.
Local Filesystem
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.
Server To Local
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 Any solution please?
Local Settings
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)
Using ASP On IIS (Local Machine)
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??
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? Anyone who can point me to useful documentation.
Code On Local IIS
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
Local ASP Server
I need to setup my home computer to view ASP files like I veiw PHP files through Apache2Triad or some other similar installer package. I'm using Windows XP Home,is this possible?
Calling A Local .exe
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.
Local Web Server
I have a computer running Windows XP home edition and i would like to have a local web server for testing my classic asp pages.
Local Execution
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.
LOCAL MACHINE
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.
Local Host Id
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 <% Response.Write Request.ServerVariables("REMOTE_ADDR") %>
Asp & Local Executable
i'd like to know if it is possible with asp to launch a local application (exe file like word or any else).
How To Sync Local And Web Database?
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?
Dynamic ASP Local Variables...
I'd like to create a series of variables created dynamically, example such as this... For i = 1 to 5 TheVariable & i = "blah" Next This would during the first loop create a variable called 'TheVariable1' with a value of 'blah'. Is this possible as so far I'm getting syntax errors?
SQL Express Connection From Local IIS
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.
Converting Local Time To UTC
1. I need to convert the local-time of the server on which I run my website to UTC and I don't want to rely on the server local time and timezone (i.e. I don't want to hardcode the timezone information), is there a generic way to do this? 2. Is there a general for converting time between timezones in ASP?
Browse Local Save
How do I allow users to browse their local machine and upload a file to the server? I'm looking for the pop up window that allows the user to search for a file in their local machine. Also, once the file is in the server and the user needs to delete it, how do I do that?
About Testing On Local Computer
I have been teaching myself ASP for several months now and seem to have a pretty good handle on it. All along, I have been uploading changed files directly to the website and refreshing to test. However, today I will be at a location with no internet access and would still like to be able to work and test my programming. How do I go about testing ASP pages on my local computer without an internet connection? For now I am not worried about testing any databases or anything, just layout and design. If it is useful, I am running Windows XP Home edition and I use Dreamweaver to write the ASP.
Getting Size Of A Local File.
I made a image upload a while ago, but too many people submits too large images (this is no problem, since ASP Upload won't upload too large images) but people gets frustrated when their images are not uploaded!I want to do so that you can't submit the form if the pictures are too large. I was thinking of doing a asp functions to check the file size and then pass the result to a javascript function, which will then alert the user and denie him to submit the images.I know how to do the javascript part, but I don't know how to check a local file's size with asp? I'd appreciate if someone could help me! Thanks.
Can't Run Website On Local Machine
I copied one of our websites to a CD and wanted to run the website off of the CD. However, it won't run the index.asp on Windows XP machine. Do I need to install some dll's or something?
Setting Up Local Server?
What is the best way to set up a server with MSSQL on your local machine. I have IIS set up, and am wondering if there is some way to get MSSQL for testing purposes for a reduced cost? From what I understand, a typical MSSQL license is around $8,000, am I right
|