Pass Requests
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 ?
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 ?
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.
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)
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 ?
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.
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 RelatedI'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)
%>
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?
I would like to pass the value %%LAST_NAME%% to another asp document.... I
wanted to pass this value by doing a response.redirect, but, it truncates the
double percentage signs
I know it works on a SUBMIT
example:
<form>
<input type=text name="lname" value="%%LAST_NAME%%">
</form>
but, I would like to skip the submit and do a response.redirect...
even if I create a variable using 'server.urlencode' it still truncates the %%
example: response.redirect "newfile.asp?lname=%%LAST_NAME%%"
I'm trying to add a variable to the url that is going to be sent but when it is sent my additions are removed! I've tried numberous variations of action="caldelete.asp?curid=<%=iRecord%>" and every time it removes everything! What am I doing wrong? Code:
View Replies View RelatedDose anyone know how to pass more than one value in a Go to Detail Page? The code I have so far is this... Code:
<A HREF="advertiser-basic-keyword-detail.asp?<%= MM_keepForm & MM_joinChar(MM_keepForm) & "TimberSpecies=" & Recordset1.Fields.Item("TimberSpecies").Value %>">Edit</A>
The code above passes the value of the "TimberSpecies" to the next page. I would also like to pass the value of the "CategoryTitle" to the next page at the same time.
The "CategoryTitle" is also in Recordset1.
How can i pass value from drop down list in 1 page to another pagei used onsubmit when i click the value in the drop down list and use request in another page to get the data.but why it still cannot works
View Replies View RelatedI’ve used java script in my asp page for the new windows utility and also for link to .js extension (get calendar). Ok let see what I’ve done…. Within elseif : (see asp comment within coding page).
IM – date – open
IM – date – close
IM – date – all
What is a problem now, I try to test for calendar function (java script) in “– IM – date – all “.
I can retrieve date from javascript file -> ‘date-picker.js’ and insert date into these two textbox, but when I want to send/pass these two values (click button continue) to next asp page called byDateIMA.asp, browser told me that ‘error on page’. I’ve no idea about this problem. Hope anyone can help to solve this problem.
I'm trying to make my site as dymanic as possible. Code:
View Replies View RelatedI have a simple form with a textbox, a combobox and a submit button. I want to also be able to pass the "values" of the textbox and the combobox in the URL. How do I do that? DO I need to set that up in the function? I know this must be simple becuase I can not find any information on how to do it.
View Replies View RelatedI want to pass the value of the cookie created in VB to ASP. This doesn't work. Any idea?
<script language=vbscript>
document.cookie="mycookie" ' also tried with
document.cookie="name=mycookie"
</script>
<%
z=request.cookies("mycookie")
response.write(z)
%>
....
Has anyone had or heard of IIS not passing emails or SSL connections, thereby disconnecting or making the server useless?
I had a virus that seems to have done this.
I am using this code to display a dropdown list of employees
How do i pass the selected name to another page, all i need to pass is emp_id? Code:
how do you go about passing a name on after a login->doLogin->MembersArea so that you can print Welcome username?
View Replies View RelatedI want to pass the value to two frames and two pages after hitting the
submit button If my form I have this:
<form method="get" action="search2.asp" target="fSearch2">
I want to pass crPN to below as well
action="search3.asp" target="fSearch3"
I am having a little problem figuring this out.
In ASP, when we pass data between pages, we usually pass by query string. If
we pass data by query string, that means we need to use submit button, not
by regular button, and the form will pass to the server since it's GET or
POST request. But if just form-to-form communication, why we need to send
the form to the server?
<form action="process.asp" method="get">
//form controls
<input type="submit">
</form>
For example, http://www.myserver.com?id=100&name=joe
Form.QueryString("id")
Form.QueryString("name")
i'm trying to pass a Request.QueryString("date") in an SQL statement like this:
sql = "SELECT COUNT(*) AS sum FROM logs_main WHERE Termination='OK' AND CallDate >"& Request.QueryString("date") &""
When i explicity write CallDate >'2006/12/01' it is OK
But when i use the above code ,where e.g date value is 2006/12/01, then it doesn't work.
How can i pass a date in an sql query??
I want to pass 2 auguments to this command like below, but the red line of following java script (server side) doesn't work, which means it doesn't took siteid and whosent vaule.
<%
siteid = Request.QueryString("SiteID");
whosent= Request.QueryString("WhoSent");
objShell = Server.CreateObject("WScript.Shell");
objShell.Run("cmd /c call rsh host -l username lockunlockRSL.sh siteid whosent", 1, 1);
%>
Does anyone know how to pass 2 varible siteid and whosent value to this command if not use batch file?
How to pass a collection from a VB Component to an ASP page? I have no clue
the syntax of all. Code:
A fill in a form which is "request.asp", then submit to "department A" to wait for approvement. for "request.asp", i use simple method "request.form()" to pass value to another page.
ques. 1:when "staff A" want to pass the form to "department A", how should i do this? store the form's data in database? then system automatically retrieve the data and trigger an email to "department A"? this look like similar to email notification, is it? any sample coding?please take note that "department A" should able to add new remarks inthe form, a new problem. how can i do it? (cos need to add new textarea/textfield)
after "department A" add remarks into the form then submit to another department which is "department B"."department B" will check and add comment to this form then keep record of this form. i'm using sql server as database.
I have a page that calls a multiple frames page (ASP).
I need to send parameters from the first to the multi frames page.
If sending to a simple page, it works. If sending to multiple frames
page, it does not.
I have this statement that passes a variable to another page. how can i incorporate another variable called teamId. I want to pass two variables at the same time.Code:
Response.Write " <TD width=100 style=border-style:none; border-width:medium; bgcolor=" & BGColor & "><p align=center><font size=2><B><A HREF=Schedule.asp?LeagueID=" & rst.fields("Leaguetype").value & ">" _
& rst.Fields("Tournament_Description").Value & "</B></font></TD>" & VbCrLf
Could anyone provide a link to a site where they go over different types of methods to pass variables?
I was wondering if there's a piece of code that will do the following:- When the user closes the database, I want to pass the current date and time into a field in the database!
View Replies View Related