Hey everyone,
I am trying to use reCaptcha on my site, and recaptcha_challenge_field, and recaptcha_response_field are not being added to the $_POST array on the backend - but the rest of the variables from my form are.
Any ideas? I have double checked the public/private keys.
Here is the generated HTML:
<form action='myform.php' na...
I've got a daemon.py with a callback. How should I make the handler function execute a OS command?
...
I have a custom handler that is returning an image to the browser.
The images are fetched from a database.
For some reason the images are not being cached by the browser, and I was wondering if someone might be able to spot what I am missing from the below code:
HttpContext.Current.Response.BinaryWrite(imageBytes);
HttpContext.Current...
I am using ASP.NET's "handler" to show images in an application. I need to play files of audio and video like I do with the image: I recover it from database and show it on an aspx page. Can I create a "handler" for the video and the audio? I don't want that a dialog box is opened asking to the user if he wants to play or save the video ...
Hi,
I have one Filter and few Handlers (GenericHandler), which work fine when configured per web application or web-service. I was just wondering if there is a way of configuring these at server level (at a common place) so that every web application or web service deployed in the server can have them implicitily configured so that I do...
Is there a way to have your PerlAuthenHandler, PerlAuthzHandler, or even your PerlHandler change the error document for a request?
Example: When the user goes to a specific page and gets an error, I want to have a subroutine choose what error document errors are thrown to.
...
Hi, I'm trying to access a Page within an HttpModule and I think I should do this by calling HttpContext.Current.Handler (This should reference the current page) but I'm getting null all the time.
I'm developing using .Net 3.5 framework.
I'm checking this on AuthorizeRequest and AuthenticateRequest
Thanks.
...
i'm trying to store some values in the Session from a Handler page, before i do a redirect to a WebForms page, that will pick up the Session values and pre-fill the WebForm:
public class Handler : IHttpHandler
{
public void ProcessRequest(HttpContext context)
{
...
context.Session["StackOverflow"] = "overflowing";
...
In apache 2.2 / mod_perl2 I'd like to add a translation phase handler (PerlTransHandler) but have it run after mod_rewrite. In apache 1.3 this was done by controlling module load order. In apache 2.x the hook ordering is more flexible, however mod_perl2 seems to always insert itself first in that hook phase.
Looking at the Request Hook...
Hi, Im using UpdatePanel for some controls specially for captchas so, when a AsyncPostBack is performed triggered by a button "btnQuery", How can I tell to the .ashx (Handler for Captcha) to refresh it self?
Im using session to validate the Image on Captcha to the Num on the input below the image
this is the Handler :
<%@ WebHandler...
Hi,
If you know a better way to do this then please let me know.
Right I have a page which will contain lots of buttons, charts and tables.
I have read about stopping event propogation and that's what I'll be using.
I want to enable help on cerain elements. I have a checkbox which changes the cursor on help enabled divs. What I want t...
I have a dojo grid on which I want to perform some action when the "ENTER" key is pressed. However, I only want to add to what DOJO already does when a key is pressed. When I try to use a handler it replaces the onKeyDown function in dojox.grid._Events instead of adding to it. Is there any way I can make sure that the _Events function...
I have setup the logging module for my new python script. I have two handlers, one sending stuff to a file, and one for email alerts. The SMTPHandler is setup to mail anything at the ERROR level or above.
Everything works great, unless the SMTP connection fails. If the SMTP server does not respond or authentication fails (it requires...
Hi,
I was debating with some colleges about what happens when you throw an exception in a dynamically allocated class. I know that malloc gets called, and then the constructor of the class. The constructor never returns, so what happens to the malloc?
Consider the following
class B
{
public:
B()
{
cout << "B::B()" ...
Hi,
I've recently implemented some vectored exception handling to catch errors in our software. This is especially useful as we've just converted from vc6 to vs2005. We're encountering a few problems with the use of the STL library (generally people doing things they shouldn't). I'm trying to catch these errors with my vectored exceptio...
I am confused by the syntax for removing event handlers in C#.
Something += new MyHandler(HandleSomething); // add
Something -= new MyHandler(HandleSomething); // remove
The "new" creates a new object on each line, so you add one object
and then ask it to remove a different object.
What is really going on under the covers that this c...
I'm working on a simple image tagging and searching app.
I've got my images uploading to the DB, the tags being applied, but am failing when I pull them back - the images don't render.
I found this here on SO, but I'm not able to get it working.
I think I am perhaps misunderstanding handlers.
In short, in the code behind, I'm creating...
I am comfortable with Vb.Net events and handlers.
Can anybody will help me with how to create event handlers in c#, and raise events.
...
Hi
I have a script task that is performing transformations in the middle of a SSIS dataflow. If the script fails (say it tries to convert alpha to numeric) I need it to stop with a 'failed' status and return to the main package and then utilise the Dataflow Task Event Handler OnError to exit gracefully.
At the moment I find that the sc...
Hello, I have this:
<div id="inner">
some text <a href="#contacts">link1</a>
</div>
<a href="http://anotherlink.com">link2</a>
And JQuery code:
$('#inner a').click(function(){
console.log( 'achtung' );
});
But when I click at link1, click-handler doesn't call.
And in another situation:
$('a').click(function(){
co...