Web Forms :: How To Make Sure That People Verifying Results Are Humans And Not Automated Scripts
Mar 12, 2010
I have a problem of putting captcha code on my website and am also a novice on this. i do not want bots to be sent to the website. I want to make sure that people verifying results are humans and not automated scripts.
View 6 Replies
Similar Messages:
Jul 17, 2010
I have developed some web sites using asp.net and vb.net plus sql server. Now I aim to make a web site where people can play low-tech games (think online scrabble, typing one word at a time and sumitting it, maybe against the clock and maybe against an opponent).
Generally this would probably be done using Java, but would it be possible to do this kind of thing using asp.net and ajax?
View 4 Replies
Sep 23, 2010
I have a question.aspx page that allows "guests" and "admin" to use. If guest access the page, it says Submit, if admin access it, it says "Approve" on the button control.
My question is, when guest accesses that page, I don't care about their credentials, but when admin accesses that page, I want them to log in first. And the Admin users are the ones that work in our company with the same domain and such. Anyone that access outside would be "guest".. how can I prompt people in the same network when they try to access that page? I need that AD credentials to do some programming in code behind.
View 1 Replies
Feb 27, 2011
i do knot know how to make a forum, step by step , in the forum people show their picture and user name
View 3 Replies
Jun 24, 2010
I am working on an bulk email sending application using asp.net and i have to verify each email address before to send whether the email address belong to the appropriate domain or not.
Is ther any way or sample code in asp.net to verify before to send so that i could prevent the use from bouncing emails.
View 3 Replies
Oct 12, 2010
I am building a user control for other programmers that I work with. It will be used to interface with our Authorize.Net accout. Is there a way in code to verify that the connection is SSL? If it isn't I'm going to disable the code to keep any of our programmers from accidentally trying to use the user control on a page that isn't SSL.
View 3 Replies
Dec 14, 2010
I'm testing a site that serves up some binary (i.e. non-HTML) content. Some links directly deliver custom images, other links custom PDF's.
I'm building test cases in WatiN and NUnit. Wondering if there's a way, using WatiN to get it load a page and then get the byte[] contents of that page.
Currently, I'm just launching a WebClient to grab the content, rather than through WatiN but that's more untested code in my test suite.
View 1 Replies
Feb 22, 2011
I have following DropDownList entry in partial View.
<%: Html.DropDownListFor(model => model.Category, new SelectList(new[] { "Airport", "Bar", "Club", "Other" }))%>
I want to execute following lines only if user has selected "Other" from dropdownlist. Could you please tell me how to do this?
<%: Html.TextBoxFor(model => model.Category) %>
<% Html.RenderPartial("ImagePicker", new ImagePickerViewModel() %>
Moreover, I want to make sure that when user clicks Save button(available on view), he has inserted the valid image name and selected the Image otherwise display error.
View 2 Replies
Nov 20, 2015
It's been requested of me to create an application to allow uploading a text file.
I've created the app using the FileUpload control and then was told that I need to check that there is specific data, in specific columns, to verify that the correct text file was uploaded.
i.e.; date in column 5, a number in column 6, an email address in column 15, etc...
- I used a StreamReader with the saved path of the file as the file to a string variable called sCurrentRow.
- Now, because my file does not have column headings, I had to use 'LastName_tx = Strip(Trim(Mid(sCurrentRow, 3, 25)))'
- I'm using VS 2013
View 1 Replies
May 20, 2010
I am currently having trouble with verifying the digital signature in a excel file. The digital signature is used to sign the Macro so that it is possible to authenticate and ensure that no one has tamper with the Macro.
Currently, I am able to check that the excel file is digitally signed. However, I can't seem to be able to verify and ensure that the digital signature is authentic. I'm using asp.net 3.5 with vb.net.
View 2 Replies
Oct 19, 2010
checkboxlist textbox from a data transfer,I want those people in the textbox before the deletion.
obviously...
The second update, not deletion textbox
View 1 Replies
Feb 6, 2010
I have a website which needs to send automated emails. I have the emailing set up fine but what I haven't managed to do is embed an image in the messages. I have tried the following code :
[Code]....
All this does is is place the standard "box with red cross" in the email body and attach a '.dat' file.
View 3 Replies
Mar 7, 2011
I have a problem with using menu control in ASP.NET. I am using a maser page with web.sitemap and menu control. I am designed the whole thing with css but it not looks what I want. I have noticed when I build the page it generates some css in the head section and that srcrew my whole design. How can I reset this automated injected css for my menu to I could use pure CSS for my project.
View 4 Replies
Jan 29, 2010
In my Asp.net MVC app, I have two methods on a controller, one for when the user first arrives on the view and then one when they submit the form on said view.
public ActionResult Foo() {}
[AcceptVerbs(HttpVerbs.Post)]
public ActionResult Foo(string id, Account accountToFoo) {}
In the second action, there's a custom model binder that's assembling the account object that I'm acting on, though that's really not important. This all works fine in testing locally on a server.We try to be pretty good about writing unit tests to test all our different views are properly getting routed to, including those that are HTTP POST. To do so, we've been using mvccontrib's test helper.
Testing gets have been super simple
"~/account/foo/myusername".
Route().
ShouldMapTo<AccountController>(c => c.Foo("myusername"));
My question is in testing POST routes, how do I write the lambda that I would use to verify the post is receiving accurate values, similar to the GET test above?
For a POST, it looks something like:
"~/account/foo".
WithMethod(HttpVerbs.Post).
ShouldMapTo<AccountController>(a => something_something);
It's the something_something portion of my lambda that I'm having trouble with. Using arbitrary values doesn't work ("a => a.Foo(0, new Account()"). How would I specify the expected values as part of the test?EDIT I was hoping there was something akin to the way Moq has lambdas for statements such as foo.Setup(s => s.Foo(It.IsAny(), It.Is(i => i > 32)) and so on. Even I have to explicitly supply the values, that's workable--I just can't seem to grok the desired structure to pass those explicit values.
View 2 Replies
Aug 12, 2013
How to send group of sms and email to many people at the time of error occurs in my application (vb.net) so the everyone get alert...
View 1 Replies
Mar 20, 2010
on my WebApplication I have GridViews filled with a LinQ-Query. Like this
Dim teamA = (From t
In datacontext10.T_TEAM
Where t.group =
"A"
Order
By t.sort)
GridViewA.DataSource = teamA
GridViewA.DataBind()
Now I want do enable automated Sorting and Paging? How could that work? Could I use a ObjectDataSource? Which control could do that for me?
View 2 Replies
Feb 2, 2011
For a certain project I need to be able to send the contents of a webpage to people who enter their e-mail address somewhere. For this I've scoured the internet and came upon a couple of possible sollutions. The first would be to use a scraper which would just look up the webpage and then mail the html contents to someone. The problem with this is that internet html (and more importantly css) and mail html might be completely different things when you look at outlook. This also takes the entire masterpage with it, while I pretty much just want the inner content.
Second sollution was completely rebuilding the pages in my mail function, based on a few given parameters. Seeing as there's many different types of pages that need to be sent, this would take ages to do...
Last sollution I came upon was manually calling rendercontrol. This actually seemed like a viable way of doing this, but of course, things go wrong. The structure of the website is as follows: Masterpage includes default.aspx, default.aspx has a placeholder which gets filled with a control I manually load (loadcontrol(path)) based on what page I need. This control is the one I need. My way of trying to render this control to send through mail is the following: first, I create a page, then I'll load the user control and finally I use UC.RenderControl(writer)
This does give me the basic html lay-out, but it seems that the Page_Load isn't being called, causing none of my variables to actually be filled in. Is there any way I can cause the control to be rendered just as if it were rendered inside a page's lifecycle?
View 5 Replies
Aug 23, 2010
User registers for the siteAn email is sent to the user confirming their registration am using : Asp.net 3.5(C#)itefinity as a CMSMS SQL 2008 server r2My question is what is the best way to automatically send the email?Should it be done in ASP.net or as a database trigger using something like xp_sendmail
View 3 Replies
Oct 28, 2010
Here's an interesting problem. I have an ETL script written in c# that I have been running manually on a somewhat regular basis. It is used to update my web app's database.
I want to automate the ETL process AND create an interface for the web app admins to manually start the ETL process.
I could have sql server kick off the ETL process on a schedule and implement a button or something on a web page that will do the same thing, but I don't want to put my code in 2 different places because I don't want to update it in 2 places when it changes. But I don't know how to make my web app tell SQL server to manually start a scheduled process. Can this be done? OR
I could somehow implement the scheduling in the web app itself, but by now most people are familiar with the problems that are faced when trying that (app may not be running at certain times, must wait on request to start a process (without some trickery)). Also, since the ETL process takes a while, I don't want to make some poor end user wait on a response, so it would definitely have to use a new thread.
View 1 Replies
Nov 10, 2010
to create automated sms reminder.
View 2 Replies
Sep 24, 2010
I have a bunch of C# functions with string, int and bool arguments that serve as data entry interfaces. I'd like to be able to create a webform for each method; a textbox for each string/int and a checkbox for each bool.
Is there a way to automate this process?
View 1 Replies
Apr 23, 2010
I have to login with a username / password with a c# program with asp.net form.
I have already do that with HttpUtility on PHP website but how to do that with ASP.NET website ?
In ASP.NET, I must handle postback and so on...
I have to privilegied access to this website. I have to login like any other visitor. I don't know if it clarify enough the question
View 3 Replies
Feb 16, 2010
how can we count how many people are seeing our page?and how how can we count active users?
View 12 Replies
Aug 13, 2010
We're debating on the architecture of this university database project. We can't decide if we should relate the tables as -> "one person to many addresses" or "many persons to many addresses". We understand that there will be duplication of some data in the "one_to_many" schema. How bad would that be. "many to many" is obviously more normalized. Are there any trade offs for either setup? We expect there to be 100,000+ people.
View 1 Replies
Feb 25, 2010
I am not able to send mails thru my ASP.net pages. If I host site with 172.0.0.1 IP on other hosting server then it will work but if I set the 202.71.148.84 IP provided by my Hosting Provider that time I can't if any other information is required to address this issue.
View 2 Replies