Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Prevent DOS attack
#10
(09-23-2020, 09:52 PM)Alexandre Machado Wrote:
(09-23-2020, 06:53 PM)PDSBILL Wrote:
(09-23-2020, 02:40 AM)Alexandre Machado Wrote: Yes, why not... it would require a little modification but it is doable, sure. in other parts IW already deals with X-Forwarded-For header...

I have a lot of TerminateAndRedirect calls in our main app that I want to add a TimeStamp param to. 
Can you add a OnTerminateAndRedirect Event that allows me to modify the URL so that I only have to add it in one place?

Also can you add aResponse: THttpResponse to the BeforeNewsession event so that I can return Custom HTML when not accepted.

AWhile back I asked if there was a way to get the file count and files transfered count in the AsyncUploadSuccess of IWFileUploader. The appears to be no way to tell how many files were dragged and dropped. and when the last file was saved.

I know I am being greedy, But you do not get if you do not ask.

Thank you

Bill B

Hi Bill,

> I know I am being greedy, But you do not get if you do not ask.

LOL, yes, you are correct. There is no way for me to know what is needed unless you guys ask for it.

Regarding your requests, I'll consider them and get back to you with more details.
The only problem is breaking existing event signatures, like BeforeNewSession. This causes lots of issues for existing code and no easy upgrading path.

Can you give me more details regarding your IWFileUploader scenario? Apparently you need to know how many files the user dropped on it and when was the last updated file?

Cheers

The issue with IWFileUploader is I have a pop up modal window that has the IWFileUploader component. Users can drag multple files on to the component. In the AsyncUploadSuccess event, I have no way to tell home many files were dropped and there is no event that fires off when all files have be received. I want to close the modal window after the last file is received and completed the AsyncUploadSuccess event.

Regarding the BeforeNewSession event, could you not make a overload version that has the  aResponse: THttpResponse as a var param?

Bill B
Reply


Messages In This Thread
Prevent DOS attack - by PDSBILL - 09-16-2020, 02:29 PM
RE: Prevent DOS attack - by kudzu - 09-17-2020, 04:26 PM
RE: Prevent DOS attack - by Alexandre Machado - 09-22-2020, 12:40 PM
RE: Prevent DOS attack - by PDSBILL - 09-22-2020, 12:48 PM
RE: Prevent DOS attack - by Alexandre Machado - 09-22-2020, 09:25 PM
RE: Prevent DOS attack - by PDSBILL - 09-22-2020, 10:01 PM
RE: Prevent DOS attack - by Alexandre Machado - 09-23-2020, 02:40 AM
RE: Prevent DOS attack - by PDSBILL - 09-23-2020, 06:53 PM
RE: Prevent DOS attack - by Alexandre Machado - 09-23-2020, 09:52 PM
RE: Prevent DOS attack - by PDSBILL - 09-24-2020, 04:33 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)