i am developing online hotel reservation using asp.net. can any one tell me how to accept directly credit cards like this.example this link.http://www.asiahotel.co.th/reservation/credit_bkk.htm.
I am currently using regular expression for VISA card validation from nopCommerce to validate Visa cards just before sending them to the payment processor. The problem is that it returns a false-positive with international credit cards; it returns "invalid number" for a valid international VISA card number.
Is there any way I can validate international credit cards? I would like to do some pre-validation before sending it to the payment processor, and my guess is that nopCommerce only works with US-based credit cards.
I was wondering what anyone else thinks of this. We are looking at creating an online form with just creates a simple email and fires it off but we would like to give the user the option of sending an attachment. Does anyone have any thoughts on the risks involved with this from a security standpoint? Is there any special products that .net could use to scan files first? some third party application or control?
I have been having trouble finding much good info from google cause, well... You type the words like "email attachment" "risk" or something like that you get so much back it is out of control.
I am using Elmah in one of our production deployments and would like to secure the module to the local network only and not expose it to the public. I am aware of the remote logging option that can be turned off and also asp.net authorization, however I am interested to know if there is any support in Elmah's configuration to bind to a secondary NIC/network card which only faces the internal network ?
I have the html file I want in a variable. The variable isnt the same every time. However, I need to parse out the data which is in the three tables on every page to assign it a variable. Is there an easy way to parse this? Would a wild card work?
I am developing a simple online DBMS to browse my database online.... the main concern for me is to clear everything from the PC when the user disconnect so no body can go and click (Back) on the browser and see the pages if the user forgot to close it.. what I have done so far is :
[Code]....
I am sure this is not enough.. am I right? so what else I should include there?
I want to create a Online Exam site in ASP.NET .In that i want to display Test based on the Date and time and the user can take the test at the time set my the Teacher.
For Example:
Teacher want to take C Test for the Mid Semester Test and the test is schedule on 1 May 2010,then the test should appear on the test page on the 1st may only and the user should be able to take the test on the set time.
The problem is that if i use System time then user can change the system time and can take the test schedule in future.
So i want to know how can implement this thing.I have given many online test but dont know how they work out the time and date logic.
what is the lmitations and obstacles to make validations on credt cards or payment via my websitewithout use validaton form from any websites like authorize.net
<% 'load the XML file.. Option Explicit Response.Buffer = True Dim xml Set xml = Server.CreateObject("Microsoft.XMLDOM") xml.async = False xml.load (Server.MapPath("\ilife104 eamdiskSharedIntegrationSystemdevDataprcImportFactSetFeedsfileList.xml")) Dim name, retrieved name = xml.documentElement.childNodes(0).text retrieved = xml.documentElement.childNodes(2).text Set xml = Nothing %>
It gives the error:
Server.MapPath() error 'ASP 0174 : 80004005' Invalid Path Character(s) /ITWeb/Interfaces/je/index.asp, line 9 An invalid '/' or '' was found in the Path parameter for the MapPath method.
Im developing a application in asp.net ,the problem i got was i have a grid view with textboxes in it where i can enter some data and store it into the database.But the problem ,i have to enter minimum 50 characters of data into it but the textbox is accepting only 30 characters.im getting the following error.String or binary data would be truncatedThe statement has been terminated.And i have also checked the datatypes of corresponding columns in the database.(they are set to archar(MAX))
On adding items in it ,shows an error: "Dropdownlist does not allow multiple selection."But when i tries to print the selected item it shows null exception.
In development, everything works good in all browsers, but when I deploy the app to a server, only Firefox is able to log in (so it's the only one accepting the cookie). In the server, the app runs on the root of the server, there is not virtual path.
EDIT: I've looked at it wit Fiddler, and the server is returning the cookie, no doubt. So the problem is that Chrome and IE are not accepting it.
I'll try to make this concise. Anyways, I'm trying to only allow unique data to my database. my database. What I did before adding the entry is to use a Search Query for the value of the txtbox
"SELECT IDnum WHERE IDnum = '" & txtID & "'"
Then compare it with that of the txtbox.
IF objReader("IDNum") <> txtID.textbox then add the entry Else Display a Warning.
in the above code, I can detect the when the user entered an existing value. however, If the user entered a NEW (unique) value an error is Raised "Invalid attempt to read when no data is present" I hit the wall with this.So what I did, Since I can detect Duplicates and have errors when entering unique value, I used the
ON ERROR GOTO statement: I did it like this.
On Error Goto errHandler
If objReader("IDNum") = txtID.textbox then lbl1.text = "Existing Record" objReader.close() [code]....
The Code does what I need but its kinda long, I bet there is an elegant way to do this.
I have a webservice method which needs to accept SOAP as input parameter. I've worked webservices between .NET clients but I've never worked using raw SOAP so I don't know what to do. The format of the input like this:
In VWD2008, it was possible to accept an intellisense suggestion by using the space bar, which would then insert the whole intellisense answer.
However I'm finding that in VWD2010, you need to use the tab key, as the space bar will only retain however many characters you typed to get the intellisense suggestion.
I am assigned to create a credit card application that follow PCI Compliance. I know that there are documenation in PCI Compliance website about what kind of thing need to be followed. Is there anybody has somekind of sample code about ASP.NET Credit Card Processing?
I am creating my first e-commerce site.I have a nonprogramming ?; Does Paypal accept credit card payments or should i use a third party gateway to accept credit card payments?