Port Connection Counting
i have a server and client game that uses a port for ppl to connect to. so they can play
port : 7234
i want to create a asp page that tells you how many connections are currently connected to the port (ie users playing)does anyone know the code to do that. ive spent all day looking for some code but cant find any.
View Replies
ADVERTISEMENT
We are planning to change the port that SQL Server is listening on at our Web Hosting company(TELUS).
Our SQL Server is being attacked. There are thousands of unauthorized attempts to login.
Is it possible to specify port number
in ASP code?
here is my cn:
PROVIDER=SQLOLEDB.1;DATA SOURCE=MachineName;INITIAL CATALOG=DatabaseName;USER ID=iserid;PASSWORD=password;
How should it look like if let's say our SQL port is 32566?
View Replies
View Related
i have a connection string (this all in asp )
tCSCst = Provider=SQLOLEDB;Data Source=<bd>;Port=1444;Initial
Catalog=<cataloge>;User ID=<id>;Password=<password>
Set testCaseServerConn = Server.CreateObject("ADODB.Connection")
testCaseServerConn.Open tCSCstr
but i get the following error:
An error occured:-2147467259 - Invalid connection string attribute
the problem seems to be the port itself, if i use 1433 then it works
View Replies
View Related
do u have experience in using browsers (IE or Firefox) control hardwares like barcode printer or com port before? can it be done? if yes is it using ActiveX to achieve it?
View Replies
View Related
how to open port 80 so that I can access my website from other computers?I am using Xp professional.
View Replies
View Related
i use a dll (ASP) that uses the serial port to connect to a out of date disk reader
that work fine if the disk reader is hook up to the servers serial port
is there any way to hook up the disk reader to a CLIENTS computer let im navigate to my web page(ASP) and use it trought web
what technologies are involved
View Replies
View Related
i am running iis and apache both.now i want to change the port of iis to e.g 70.how can i change it?
View Replies
View Related
I've got an asp app that needs to use SSL only for certain pages. Is there a way to shut off port 80 for certain pages (HTTS pages), but have it open for other pages? Can this be done in IIS? OR is this something we can do testing server variables in the asp classic vb script code? OR, do we set up another web site that has port 443 closed and only have the secure pages on that web site with port 80 closed?
View Replies
View Related
i set up iis 5.0 on my local machine(win2kpro) (on a pvt LAN) at the default port. when i try to access asp it gives http 500 error. i have been able to configure cgi scripts but asp still doesnt work.
View Replies
View Related
i know how to find the available server names, how can i find the ports?
View Replies
View Related
Is asp/asp.net able to interface with the PC's I/O ports? I'm currently doing a program on VB using the SDK from the vendor to interface my biometric scanner to my PC using usb port. Can this same thing be done using asp?
View Replies
View Related
i have a connection string (this all in asp )
tCSCst = Provider=SQLOLEDB;Data Source=test02x2;Port=1444;Initial
Catalog=<cataloge>;User ID=<id>;Password=<password>
Set testCaseServerConn = Server.CreateObject("ADODB.Connection")
testCaseServerConn.Open tCSCstr
but i get the following error
An error occured:-2147467259 - Invalid connection string attribute
the problem seems to be the port itself, if i use 1433 then it works fine.
View Replies
View Related
I need a asp script which can open port on a server. I have ads running in a server. Since there r too many http requests, server is hanging.
The server load is 100%. I plan to switch from http to port technology. I need help to write a script in asp which can open port on a server, so that there can be free flow of data.
View Replies
View Related
I'm trying to use Enterprise Manager to manage my remote SQL database, but I can't seem
to get a connection. I think my cable ISP Comcast may be blocking the port EM uses.
What port does Enterprise Manager use to communicate with SQL?
View Replies
View Related
I have to setup a point-of-sale system for a friend. He has a PC, barcode scanner, receipt printer and cashdrawer.
The receipt printer connects to the serial port.
The cashdrawer connects to the printer.
The barcode scanner has a keyboard wedge.
Do I need to setup the receipt printer as a windows printer?
OR can I send output directly to the serial port using ASP?
The salesman told us that there is an epson escape sequence that you append to the end of the sales receipt information, which will kick the cashdrawer open, so that sounds simple enough. Just not sure on how the printer should be setup/configured so I can send the escape sequences to open the cashdrawer.
View Replies
View Related
How do I get the client Ip and Port in an ASP page. I know about server.variables (REMOTEHOST) for the ip address, but how do I get the port of the remotehost (client).
View Replies
View Related
I am trying to find out how to connect to a different SMTP port
in ASP.
My default SMTP Port 25 which has been setup for SSL authentication
and works fine.
From ASP pages, I do not want to do SSL and therefore, need to send mail
through a different SMTP port (997). How can I do this?
Here is my ASP Code:
Set Mailer = Server.CreateObject("TCPObj.SMTP")
Mailer.FromName = "my company."
Mailer.FromAddress = "info@mycompnay.com"
Mailer.To = Email
Mailer.SMTPServer = "mail.mycompany.com"
Mailer.Subject = "test email!"
View Replies
View Related
I need to develop a web application in asp.net which can detect a USB device and capture its
events...
For example when a person access the web page and connects the device to his machine he shld be
able to detect the device and shld be able to read or write into it.
I wrote a java program using jusb and called that in an applet..though it worked it needed lot
of client side configurations.
My requirement is that there should not be any configurations in client side and things shld
work smoothly.
I know some one had done this in asp and javascript. but i don't know how its done.
View Replies
View Related
Code:
<%
sub number()
dim number
number = number + 1
Response.Write("Number = " & number)
number()
end sub
%>
This adds one the first time but when the script returns to this part of the script the value remains constant.
View Replies
View Related
- i have a db with a "category" field
- there are 5 categories: sports, computers, furniture, collectors, others
i want to get the total number of records for each category.
how do i start doing this?
View Replies
View Related
I fould this code on another page and have included it on may main page. I would like to know 2 things. How can i cange the database connection to DSN less and i would like to know how i can add code to get the total hits and add it to a Field called "totalhits" in my access database. Code:
View Replies
View Related
Is there another way to count the records of an access database that have a specific field other than using a SELECT statement and a recordset to loop through the records?
View Replies
View Related
i have to display the count and it always says 0 even when the count is 3 or 4
any ideas here is the code:
Set rscheck = Server.CreateObject("ADODB.RecordSet")
strcheck="select Count(*) from tblpdf where pdf_id='" & pdfid & "'"
rscheck.Open strcheck, Conn,2,2
counting=rscheck(0)
Response.write counting.
View Replies
View Related
On access, I used the simple recordcount property, but on mySQL, all the counts turn to -1...here's my code for one of them:
[VBS]
set Count = Server.CreateObject("ADODB.Recordset")
sqlSelect = "SELECT * FROM Articles WHERE Pending = 'No';"
Count.Open sqlSelect, Connect, adOpenStatic, adLockReadOnly
%>
We have <b><font color="red"><%=Minus(Count.RecordCount)%></font></b> articles!
<%Count.Close
set Count = Nothing
[/vbs]
View Replies
View Related
I am using a lot ASP to manage a db for the students I work with in a YMCA program. What do I need to change to be able to count and print the # of records (like on a roster)
<%
fp_sQry="SELECT * FROM Results WHERE (Grade = 'Senior') ORDER BY Club ASC"
fp_sDefault="Club="
fp_sNoRecords="No records returned."
fp_sDataConn="2004"
fp_iMaxRecords=256
fp_iCommandType=1
fp_iPageSize=125
fp_fTableFormat=True
fp_fMenuFormat=False
fp_sMenuChoice=""
fp_sMenuValue=""
fp_iDisplayCols=23
fp_fCustomQuery=True
BOTID=0
fp_iRegion=BOTID
%>
View Replies
View Related
What is the best way to count how many times an image has been clicked?
I have an image gallery on a site and want to count how many times each
image has been clicked (clicking pulls up the full size image in a window)
so that I know which are popular and which are not.
I though about wimply adding an extra field to the database which serves up
the image details, and incrementing a number by 1 each time a user clicks it
just before the image is served up. What are the chances of this falling
over if two people were to click the same image at the same time?
View Replies
View Related
I need to find the total number of nodes in a binary tree structure ( Its for a mlm website), Also I need to count the total subnodes in leftside and right side separately.
Check the attachments, You will get the idea. Attachment contains database structure and Binary Tree Structure.
View Replies
View Related
For example:
If I had a table with the headings
ID Colour Car
1 Blue Volvo
2 Red Fiesta
3 Green Mondeo
4 Red Volvo
5 Red Fiesta
6 Blue Fiesta
How could I use asp to count how many times say the colour red appeared in the table displayed in a numeric value, i.e There are 4 red cars in the able
View Replies
View Related
i know that in sql you can output the amount of rows with COUNT(col_name), but what asp do i need to output this
View Replies
View Related
I have a access data base that has several records. One filed contains a category numbers. Many of the records have the same category number becase they belong to the same category. How can I get the number of records that have the same category number? or should I say how can I count the records wich have the same category number?
View Replies
View Related
Access database. What is the best method to count a field that has the numbers 1 - 93 in it, over 1008000 rows long. Trying to obtain how many times 1, 2, 3 etc show up in this field.
View Replies
View Related
I have fields called EventName and EventVolunteer. What I want to do is do a count of volunteers for each event. Then as it loops though the database the results display next to the Event Name.
View Replies
View Related
I would like to how to count the number of visits a person makes to a particular asp page. Let me give an example. Suppose a person is participating in an e-discussion.
we would like to know the number of questions he has answered, the number of questions he has just seen but not answered and the number of questions not at all seen by him.
View Replies
View Related