Questions tagged [handlers]
225 questions
0
votes
2 answers
Block direct access to HTML pages
I have one website created in IIS and the root web-share has some sub-folders for stroring html files.
However, user is able to access the html files if they know the file Path for example : www.test.com\html\Page1.html
Is there any way to disable…

D P
- 17
- 5
0
votes
1 answer
Installing signal handlers for variables that are defined in a header file in C
So I am working on this code for a class and I have little experience with signal handlers. I have 95% of my code done, however, I am struggling with this bit.
This is what the professor is asking for on this assignment.
Then, main() should install…

Kevin Gombos
- 37
- 1
- 6
0
votes
0 answers
Using HttpContext.Items in Handlers in c#
The problem is that I want to use "shared memory" in handlers to return the average of many integer values given but this code is not working, What should I do?
public void ProcessRequest(HttpContext context) {
ArrayList al=new ArrayList();
…

Fabián Rojas
- 28
- 4
0
votes
0 answers
How to alter python logging display format on stdout?
What would be a good way to switch display format of python logging information on StreamHandler?
In a tool, I am working on, python logging information is logged into a file as well as displayed on screen. But due to standard %(asctime)s…

ViFI
- 971
- 1
- 11
- 27
0
votes
1 answer
Orchard CMS - How to specify the call order of content handlers?
Content handlers resolved by Autofac are returned in an unpredicatable order. I need some content handlers to be invoked in a specific order.
Example:
Feature A
Content handler A -> assigns / removes role X from a user content item
Feature B
Content…

ViRuSTriNiTy
- 5,017
- 2
- 32
- 58
0
votes
2 answers
Multiple Methods in a jQuery Event
I'm having some difficulty with writing some jQuery code. What i'm trying to do is pass multiple methods through an event handler like so $(foo).click(methodOne , methodTwo); The purpose of the first method is to fade out the current view and then…

nnash
- 87
- 1
- 1
- 10
0
votes
4 answers
Jquery on("change") never triggers for select list
I have a form with a select list, and Jquery tying an onChange handler to that select. The handler is never called. On the Jquery side, I've tried these:
$("#dateShortcuts").on("change", function() { ... });
$("#dateShortcuts").change(function() {…

AH16
- 337
- 1
- 2
- 13
0
votes
2 answers
Handlers in Android Programming
I have got to know that the Handlers are basically used to Run the Small Section of Code and etc...
But I didn't got the exact scenerio about when particularly It is Ideal to use the Handlers!
Any Help???
Thanks,
david

David Brown
- 4,783
- 17
- 50
- 75
0
votes
1 answer
Sending email with attachment using only ajax and ASHX handler (no PHP)
I managed to send emails with attachment via ASP.NET .
But if I would like to send email with attachment using only ajax and ashx handler ? How can I do?
My problem is the fact that uploading the file ( without using the ASP.NET UploadFile control…

Mike Vinyl
- 97
- 1
- 9
0
votes
2 answers
where to use asynk task and why even it exist if Handler is there?
I am new in android, i use to work with asynk task mostly, there is Handlers also, when read differences between thread, asynk task and Handler i confuse why should not use only Handler if handler can do every thing just for one difference i.e.…

Electro
- 395
- 4
- 16
0
votes
2 answers
Cannot remove event handler in wpf
In my code, I do the next thing:
mouse_down = new MouseButtonEventHandler(Ship_Mouse_Down);
mouse_move = new MouseEventHandler(Ship_Mouse_Move);
mouse_up = new MouseButtonEventHandler(Ship_Mouse_Up);
foreach (Image…

Unencrypted
- 11
- 2
0
votes
1 answer
Consdirations for making multiple handlers in same apache module or having seperate modules for each handler
I am writing an application where there are a bunch of handlers.
I am trying to see if i should package these handlers within the same apache module or have a seperate module for each handler.
I agree this is a generic question and would depend on…

AMM
- 17,130
- 24
- 65
- 77
0
votes
1 answer
How to combine multiple handlers into one using python and self.request.path
I am currently making a very basic website for my web design class using python, html, and google app engine. I am able to make the website using multiple handlers, but we are supposed to make a multi page site using only 1 handler.
I can get…
0
votes
2 answers
Raising event in its class, calling it in another and attaching it in 3rd
Hello i searched for a while but couldn't find a solution to my problem. And I am 100% sure that the solution is just a simple line of code which I can't figure out ;(
... So what I have here is a class with a delegate AlarmHandler and event…

Nikola Grigorov
- 25
- 4
0
votes
1 answer
Android Click and spinner selected listener
I'm trying to implement spinner listener in button click handlers...
Can we Implement Android spinner item selected listener in button click handler?

Nagesh G
- 11
- 1
- 2