Finding Out The Number Of Requests

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


ADVERTISEMENT

Finding A "specific" Day Number

Given the Month number and the Year, how can I find, let's say:

- the second monday of that month-year?
- or the third Friday of that month-year?
- or the second Saturday of that month-year?

getting the day number as a result

For example: the second Monday of February 2006 = 13

View Replies View Related

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 ?

View Replies View Related

Hanging Requests

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

HTTP GET Requests

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

ServerXMLHTTP Requests On The Same Web Application

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

Batching Video Requests In Asp

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

Outlook Meeting Requests

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

Adding Multiple Requests

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

Passing POST Requests

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

Server Side XMLHTTP Requests

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

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 View Related

Handling Errors From Multiple Requests To Access Database

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

Custom Http Error 404 To Catch Subdomains.site.com Requests

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

Finding Age

I have a database with date of births stored dd/mm/yyyy (english dating
system) and =date() returns a date in the same format in my server.
how do i find the persons age using these two pieces of date.

View Replies View Related

Convert Real Number Into Text Number

I need to insert some number into database as text. My problem is if I insert the number (ie. 4.0), the value in the database only show (4). So, is it possible to convert a real number into text number using ASP?

View Replies View Related

Finding Word

i want to make a program to find out and highlight a particular word on the browser using ASP and javascript.

View Replies View Related

Finding A Path

Is there something similar to PHP's php_info command to tell me all about the server? I need to find the actual path where the site resides.

View Replies View Related

Finding The Webserver Name

I need to create a new application in our test server. I am using VID for
that purpose. In order to set up the project in VID, it asks me 'which server
you want to use'. However, I do not have the name of the test server. Is
there any way to configure the name of the server here? I have full rights to
the server directory and is mapped on my machine as G drive.

View Replies View Related

Here Is A Function For Finding Age

Here is a function where you don't have to worry about the leap year.

You will have to still be aware of time differences between you and
the server, and correct your data before entering it into the
function. And of course time zones, yada yada ....

BUT I think that most people using this will just want to say if today
is there bday than they are their new age. Code:

View Replies View Related

Finding Version

How can I programatically ascertain what version of ASP my ISP has installed ?

View Replies View Related

Percentages Finding Of

I need help to find percentages, because I missed out on a lot of basic math education, I need it to be real clear step by step instruction for instance how would I go about finding 24 out of 32 one step at a time?

View Replies View Related

Finding A Port

i know how to find the available server names, how can i find the ports?

View Replies View Related

Finding A Hotel

I am developing a hotel finder solution in Canada. When some one enters a Postal code, it should be able to display the hotels in 5 KM radius. (With nearer PIN numbers?) I am deleloping this application using ASP, and is there anyway I can such searches?

View Replies View Related

Finding The Space

I trying to find the memory occupied by the object in RAM, For Example:

Set ObjTest = Server.CreateObject("ADODB.RecordSet")

I need the space occupied by the ObjTest in RAM. Is it possible ?

View Replies View Related

Finding Max Value In Database

I am trying to find total number of parts in the database for a user by using the COUNT function:

max = HelpDesk.Execute("SELECT count(PartRef) AS 'maximum' FROM MISC_PartInfo WHERE Username = '" username "'")

but when i try to output the result by:

Response.Write max("maximum")

I get the error:

Item cannot be found in the collection corresponding to the requested name or ordinal./Intranet/test/PartInfo.asp, line 82

View Replies View Related

Finding Every Monday

if anyone can point me in the right direction or has code on this. i'm trying to display the number of occruances of an event during each week of a given month. basically, i'm looking for code that finds every monday of a given month.

View Replies View Related

Finding No. Of Pages

one cant do a straight division because if i have 20 per page and 22 records, that's two pages. best i've come up with so far is

Code:

iPageCount = fix(iNumRecords / iPageSize)

if( iNumRecords mod iPageSize > 0 )then
iPageCount = iPageCount + 1
end if

anyone managed it better? is there a function like fix that forces a round up?

View Replies View Related

Finding Maximum Value

How do I find the maximum value of a recordset column? I'd rather do it this way than open a new recordset with Max(column).

View Replies View Related

Finding Element In Array

I'm creating an array from the querystring, then I want to find if something is in that array..

url = quiz.asp?done=6|3|4

done = Request.QueryString("done")

myArray = Split(done,"|")

For Each i In myArray
If myArray(i) = x Then
do something
End If
Next
I keep getting a "subscript out of range error"

View Replies View Related

Finding Newest Record

I have a section of code that is supposed to search through a DB comparing a field of when the record was added. Its supposed to find the latest record and move to that record so it can process some other code:

View Replies View Related

Finding And Renaming Image.

Heres what im trying to do, I have mssql databse full of about 15,000 item ID codes. For Example of the ID Code:

The first 2 sometimes 4 letters represents the distributor name, the numbers are the item number and BX for example means Box.

DJ3726
DJ3847BX
DJ3743CD
PD2374
PD2334
PD4334BX

And I have about 15,000 images from my distributrs that mostly match up to the actual ID number, but still a lot dont match up because of a small extra letter like BX Or somehting like that.

So what ive done was write a code that Splits out the Manufature code for example DJ from DJ3726BX, and also the same for the item ID 3726 from DJ3726BX, So when I put thos to together I get just the manufature name and ID code instead of the extra crap I dont need.

And now I take just the Manufacutre name and ID and looping through my database and all of the (images via File Scripting Object).

Then I check to see if the manufacure code and ID is in the item name. For Example

Check if DJ74637
IS In: DJ74637BX.GIF

Then if it finds a match it gos and renames the gif for me. And it loops through untill its done.

My problem is that it just doesnt work, no errors no anything it just doesnt pick up any images when I can visualy go through my self and find some matchs.

Heres my code that I came up with so far ....

View Replies View Related

Finding Current Directory?

How can I find out the full directory path (i.e. c:path ofile) of a file? I'm logged into a server and the of course, I have an FTP directory root, but I need to know the absolute path.

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved