Sending And Processing Requests Between Different Webservers
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.
View Replies
ADVERTISEMENT
I woudl like to know why querystrings and numbers are used to pass requests ?
E.g. in this forum, sitepoints; to display asp pages, they used forumdisplay.php?f=148
whats wrong in using
forumdisplay.php?f=asp ?
View Replies
View Related
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.
View Replies
View Related
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.
View Replies
View Related
I have a form. When I do action="POST" I can see the changes done by looking at ---- for example request("MyBox")
Where MyBox is a dropdown box and by doing request("MyBox") I get the selected value.
Is there a way I can get the number of requests done? (i.e if I had 3 dropdown boxes then I get 3).
Also is there a way to get a list of the names of all the requests (i.e if I had 3 dropdown boxes then I get MyBox1 MyBox2 MyBox3)
View Replies
View Related
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.
Is my problem really solved ?
View Replies
View Related
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.
View Replies
View Related
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.
View Replies
View Related
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.
View Replies
View Related
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?
View Replies
View Related
I'm trying to run the below script on my website and keep getting the ever unhelpful
....
msxml3.dll error '80004005'
Unspecified error
....
on line 11
when i ran this on our intranet server at work it worked fine but on my personal site it wigs out can anyone spot anything wrong in the code?
<%
strLink = request("linkval")
strLinkDescr = request("desc")
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)
%>
View Replies
View Related
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?
View Replies
View Related
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?
View Replies
View Related
Does anyone have an idea how the showasp.asp file is able to direct the user to the demo_text.asp file without changing the URL. I'd like to see how this type of direction is being processed. Code:
View Replies
View Related
Do you guys know how to parse an input(text) to verify if it contains special characters. The input should accept numbers or letters only.
View Replies
View Related
I have no major programming background so am struggling to enable processing of forms on my website. Normally I just use Frontpage extensions or a freeware CGI script.
However, with this particular site, which is being hosted in Zimbabwe, the hosting company says they only support Java or VB enabled forms for processing. Does anyone have any idea where I can get a freeware script that will be easy enough for me to implement?
View Replies
View Related
I've written the following piece of code which is embedded in HTML. For some reason when the script is processed the last response.write statment is displayed before the information in the while loop. I can't seem to figure out why this is happenming.
Any ideas? Code:
View Replies
View Related
We have written a CMS, where we want user to upload a specific size of images. But if they do in some other sizes, the site becomes ugly. Is there any way in ASP to dynmically resize/compress/edit to display the image, in such a way that its not spoiling the look, even if its not very perfect.
View Replies
View Related
Anyone have any links and/or code samples demonstrating how this can be done: "Processing" progress bar/"in-between" page? Current procedure is that john doe clicks an item on a datagrid of mine and after however long, gets the info he wants.
What I want to do is have a page that pops up "in-between" the two pages. Something that says "Processing Request: Please Wait" or somesuch and have a progress bar or something as well would not have to be an accurate progress bar, per se.Anyone have any links/samples?
View Replies
View Related
How can we carry out image processing (similar to PHP GD Library) to manipulate Images using ASP. Can we call Windows API functions for the same thru ASP?
View Replies
View Related
I'm not sure if this is an HTML question or an ASP question, so I'm posting to both forums. I have a page that has two forms with two similar data sets. The action part of each form brings the user to a process page that updates some database information. I usually use Request.Form("variable"), but how can I determine which form was used? Can I request information from a particular form or should I use different variable names in each form?
View Replies
View Related
I've got two pages. The first page has a simple form that collects a value from the user and then posts this value to the second page that performs a query. This query has some loops in it that can sometimes force it to wait up to 15 seconds.
My question is how can I implement a "Processing Request..." message until the results are returned? Right now it just sits on the first page until the results are returned, THEN goes to the second (display) page. How do I call some sort of message to be displayed so it's a smoother transition and the user doesn't think the browser has stopped responding?
View Replies
View Related
I have a basic search feature in my website, but am having a problem executing one of the search criterias. If a user types a word with an apostrophe such as "what's" my ASP script throws an error.
a way out so that i would be able to return the search result for a word that includes the apostrophe.
View Replies
View Related
Is it possible to have server1 do a post to another page on server2?
Server2 page does it's thing and submit the results back to server1. All of
this is done without any reference in the url. I tried server.execute and
transfer but it only works on the same server.
Basically, I have a component on server2 inside my firewall. Server1 is for
public use. Users enter server1 and request what report they want. The
report should pass to server2 to instantiate an object and create a report
on the fly and store the pdf on server1. Users just have to view or
download it from server1. All this is done without the user knowing they
left server1.
This does work if I sent the server1 form action to server2. But then it's
on url now.
View Replies
View Related
What's wrong with this code ? It worked fine untill I added the second part of it - the emails which is sent to me (Administer).. What have I done wrog ?? Code:
View Replies
View Related
I am working in ASP and Access database.
I have a page with a form, inside the form there is a SELECT statement that pulls all relevent 'yes/no' columns from all relevent tables in the db and makes them checkboxes inside the form.
Now when i check or uncheck these boxes and submit them i need to have the db updated with all the relevent changes in all the various tables.
How can this be done? maybe there is a "FOR EACH CHECKBOX.." statement that can be used?
View Replies
View Related
I have a page with a form, inside the form there is a SELECT statement that pulls all relevent 'yes/no' columns from all relevent tables in the db and makes them checkboxes inside the form.
Now when i check or uncheck these boxes and submit them i need to have the db updated with all the relevent changes in all the various tables.
How can this be done? maybe there is a "FOR EACH CHECKBOX.." statement that can be used?
View Replies
View Related
I've been using ASPImage and it frequently causes IIS to crash. Do any of you have a good alternative to suggest?
I need something to handle resizing and cropping.
View Replies
View Related
I am calling an asp page from my flash file & the asp code is as follows: Code:
View Replies
View Related
I have a form that submits to as asp processing page and that processing page inserts the info into a database and sends me an email. <form action="process.asp" method="post">there are a few pranksters out there that like to open the process.asp page directly and send blank info to my database and email. Is there a way to have this page only work when the form submits to it but not work if you just go directly to the page. I tried changing the permission to write only, but then you are asked for a password.
View Replies
View Related
I have a very unique problem, i am submitting from a pdf
form, when submitted goes to a asp page, which saves the
data and redirects to a different page after saving the
data. I am writing a message called 'Processing Form
please wait' in the page where it is saving the data and
doing a response.flush(and i also di response.buffer
=true) but still it seems like it never hits this page.
When the user submits the form, it just stays on the pdf
file for a good 10-15 seconds and redirects to the last
page(after saving data).
View Replies
View Related
I have a web page that takes anywhere between 1 and 5 minutes to process. The user inputs a date criteria and then I have to query against a 9 million record table for the results and do some calculations also.
Since I don't know how to display anything to the screen until the server has done it's part, I was wondering if anyone here would know. I just basically want the user to know that the page is processing and the results will be displayed once the processing is done. Any ideas?
View Replies
View Related
I have a very unique problem, i am submitting from a pdf
form, when submitted goes to a asp page, which saves the
data and redirects to a different page after saving the
data.
I am writing a message called 'Processing Form
please wait' in the page where it is saving the data and
doing a response.flush(and i also di response.buffer
=true) but still it seems like it never hits this page.
When the user submits the form, it just stays on the pdf
file for a good 10-15 seconds and redirects to the last
page(after saving data).
View Replies
View Related