I have page1.asp with a form on it, then this goes to Page2.asp, the data is processed. I then want to access the same from data on page3.asp. Is there any simple way to transfer all POST requests to page3.asp without having to put them into session or Query-strings?
I'm posting a form from a php page to a page that's asp. I want the url parameters sent to the asp page to be the defaults of the form. I've never used asp so I'm not sure how to do this.For example: www.test.com/test.asp?clientid=123
Text field in asp/javascript form called "client" should now default to "123".
In php I would have put this as the default value for the "client" field in the form: <?php $_GET['clientid']; ?>
What would be the equivalent way of doing it for asp?
I having trouble with this action cause I want the user to be able to use the back button and the submitted data should be still in their form. So I the user send invalid data he can back browse and change the invalid data. I use method=POST cause its a lot of data i send between pages + client is IE6 ...
so far it works fine. It shows the value in the text box on the page. I am trying to post this page with all the form fields to a new page that emails all the variables that are on this page. The form tag looks like
In orderform3.asp, i am requesting the values for all the form fields as follows before emailing all the fields to myself:
strBody = strBody & Request.Form("Account_Name") 'strbody is the variable that adds all the form fields to the body of the email strBody = strBody & vbCrLf strBody = strBody & Request.Form("Contact_Name") strBody = strBody & vbCrLf strBody = strBody & Request.Form("Template")
Here is the problem...I am getting the email with the values filled in except for "Template" and I cannot figure out why. Is there something that I am doing wrong? i have to mention that there is no DB behind this site...it is just a static web site with an email script in it.
We have two Win2003 webfarms each consisting of 5 servers.Which we call and cluster2. Cluster2 is the bussiest of these two and periodicaly (varies from 2 times per day to two times per week) one of the servers (this is pretty random) starts to build up Requests Executing.
During this 'queueing' it still serves about approx. 75% of the requests.requests that don't come back with an answer are added to the Requests Executing count.This goes on until 100 requests are queued then it starts throwing errors like:"The CreateObject of '(null)' caused exception C0000005"
To me it seems like one of the 4 worker processes is not responding anymore.Is there a way to see why this is happening?SQL server doesn't report any locks.
I seem to have some sort of security issue with my web server and was hoping someone out there might be able to help me. I am attempting to perform an HTTP GET against some .asp pages on my webserver and the request just seems to timeout.
When I perform the GET against any .htm page, all works fine, but any .asp page will timeout, even something just containing one line of html. Since all is fine with .htm pages, I do not believe this is a code issue, but rather some kind of security/permission issue. The web server is WinXP Pro SP1.
On server A I've a web application WA1. Inside WA1 there are a virtual directory VD1 and an ASP page named page1.asp. Inside VD1 there is another ASP page named page2.asp.
page1.asp makes a ServerXMLHTTP requests for page2.asp.
If Debugging Flags on WA1 are enabled the request seems to be blocked, if those flags are disabled everything seems to be ok.
I need some help with making an asp website that will batch user requests for a particular video file, and then once a few requests are made for a video, play that video to the browsers that requested it (after a certain period of time). Physical path links to the video files are stored on an access database and the videos are loaded to be played from that database. (These files will be located in the IIS web server directory).
An example of this is when a request is made wait till you get 4 more requests and then play the video to the 5 browsers requesting the video, or play the video after for exampele 15 minutes, even if only 1 request is made. This is therefore a near video-on-demand "NVOD" system in asp. The problem is, I don't know where to start, and although I have done a lot of searches on the web I am still not getting anywhere with this.
I was asked if it was possible to send Outlook Meeting Requests through ASP. I know how to send mail using Server.CreateObject("CDONTS.NewMail") but I don't know if sending a meeting request (with buttons Accept, Decline, Tentative) is possible.
I have a form which grabs the date, time, and location of the meeting but currently its just sent through regular email.
I have never programmed in ASP in fact I am not a programmer at all. I found this script that sends an email that pulls information from a contact form.
'Sends an email Dim mail Set mail = Server.CreateObject("CDO.Message") mail.To = "youremail@yahoo.com" mail.From = Request.Form("your_email") mail.Subject = "Contacts" mail.TextBody = Request.Form("your_message") mail.Send() Response.Write("Thank you for visiting!") Destroy the mail object! Set mail = nothing
I got it to work with my flash contact form however on the form I have two other fields. Name and Phone number that I want to tack onto the TextBody but I do not know how to do this.
If Not Left(strLink,7) = "http://" Then strLink = "http://"&strLink End IF
set xmlreq = Server.CreateObject("MSXML2.serverXMLHTTP") 'on error resume next xmlreq.open "GET",strLink,false xmlreq.Send ""
PageStatus = xmlreq.status
If err.number<>0 or PageStatus <> 200 then Select Case PageStatus case 404 PageResponse = "Page Does not exist (404 error)" case 401 PageResponse = "Access was denied (401 error)" case 500 PageResponse = "Internal Server Error encountered on remote site" case else PageResponse = "Remote Server is: down, not accepting connections or does not exist"
end Select
Else
PageResponse = "Remote server was located and URL is valid." XMLResponseText = xmlreq.responseText
End If
set xmlreq = nothing response.Write(PageResponse&"<br />"&XMLResponseText) %>
I need to have a web page with information sent to another server for processing (sql query, etc.) but instead of the information going directly back to the browser, I need it to go to the original server for after processing. Is this possible and can someone point me in the right direction. It may be similar to the way credit card transactions are handled but I'm not sure.
When simultaneous requests to open an Access Database occur, the Jet Database engine returns an error stating: Cannot Open file, already in use.
I know this occurs because I'm using a file-based Access database, and it's locked while data access is taking place. However, at this time, its the only platform available on the site.
My question is, can I somehow use an On Error GoTo Blah statement to catch the error, clear it, and then attempt the ADODB.Connection.Open statement again?
I have 404.asp file that catches non existing pages such as www.site.com/es for spanish version of site. Now I would like to move ahead and have es.site.com instead. I started digging into subdomains in IIS and found out that usually when creating subdomain in IIS it creates a separate sub-directory by the same name as the subdomain created. From some reason the custom error 404.asp file I already have is not called when a call to a non existing sub domain page is made.
Anyone knows why?
How do I configure 404.asp to also handle subdomain page requests?
I know that in Unix/Apache I can use .htaccess file to direct calls to es.site.com to www.site.com/es quite easily, can this be done somehow on IIS?
Is there a way to 'force' a submit on a form with out actually allowing the user to press a button ? For example...
step1: A from is filled out by a user, then they click the submit button.
step2: The form is 'post'ed to an ASP page which writes the values to a database. So far No problems. But..
step3: Now I want to 'post' these values again to another page without any user interaction.
My ideas were:
1) I know you can get the form values from Request.Form("myVar"), so I thought of making a 'dummy' form and setting the 'values' of the form variables to these Request.Form("myVar") valiables, but I don't know how to 'submit' them to another page again.
i have a series of .asp pages that i am dividing into model, view, control logic. my view collects a whole bunch of data and posts it to the controller. im wondering if there is a way to somehow "re-post" this same data to my model page.
in short, is .asp capable of taking data posted to a page and re-post that same data to another page?
I've an html form with some fields, I have to normally post them clicking a submit button to an asp page; this page have to programmatically repost these fields and other constants to another page
I do this beacuse I don't want the web user to see the costants which are the authentication values (username password)
I couldn't get my page to POST to my server I thought because I had run IIS lockdown and other hardening tools. Now I've rebuilt the whole server from scratch and have yet to disable anything. I still can't POST. GET has been working fine all along. Is there anything that needs to be done beyond setting the forms method to POST and using Request.Form(whatever), instead of Request.QueryString (whatever)? Is there something that I need to put in the ASP or client page header or something? I must be missing something. Maybe IIS 5 needs to be set up to use POST or something.
I'm trying to make a simple ASP page post to a URL on a seperate web site, and then get the returned HTML into a string which on service side script I can then parse. Is there any object built into IIS or Microsoft I could use Server.CreateObject with to make this possible?
I have a form that get submitted. On the page that dose the db work I need a loop that will run through each record set and updated it to the db. I was thinking about writing a do loop that will increment scount = scount + 1 . the problem is that I have no idea how to tell if i am at the end of my request.form("id").
i can response my request.form("id") and i see all the id's listed acress the page.. just need to loop through then one at a time.
Well I did a little research of my own and found that get shouldn't be used when a form is causing some big changes into the DB such as deleting, updating etc.
Until now I've always used GET for everything. So should I use Post for updating, deleting editing etc and GET only for retrival.
I am trying to re-write a post method search page so that it will accept variables using the get method. For those of you asking what the heck i'm talking about simply this. I need the ability to send variables through the url to the search page of my site.
This page would be a copy, i.e. Searchprods.asp-original that uses post method, Searchprods2.asp using get method. I am almost completely lost as I don't use asp, or even vbscript often.
i got a lot of text inputs inside table(60~)and i want to update them. till now i used to do it with posting to another page the variables and on the other page i will take all the posted values and update it inside mysql.
but suppose i got a long list of text inputs. is there to update only the changed fields? if i got 60 text inputs, and changed only 4. i realy think this is not logical to standon the other page and check all 60 posted variables one by one if they empty or not andupdate those which the user changed, or to skip the checking part and to update all 60 at once.
what's wrong with the line below <A HREF="http://www.nyc-discusfanatics.com/face/dragonball/forum/Breeding/BreedingDisplayPost.asp?tid=<%objRS("ThreadID")%>#<%objRS3("ThreadID")%>"> ></A>
I got an error: Wrong number of arguments or invalid property assigment.
Now this is a weird one. I'm having a problem with a system in development. When I post data from a form in IE 5.01 it works fine, but in IE 5.5 it refuses to post the data to the server and in IE 6 it's scatty -- works sometimes but not others. Anyone seen this before? Edit: By the way -- this is normal VBS/ASP running on IIS 5 on an NT server
i have an asp page with a form that posts to itself. (the action of the form is the same page the form is on). i validate input and dont accept it if there is something wrong with it. problem is that when the form is submitted, and i display the error message, the data the user typed in the box is gone. i work around this by setting a session variable as soon as the user hits submit and store the data the user typed. then for the default value of the textbox i have <%= Session("var") %and that leaves the users data in the box for them to edit. is there a better way i could do this?
Is there a way I can POST data from a ASP page to another page? I am not trying to POST data from a form to another page, but would like to create the POST headers from different variables, and then send it to another page