Skip to main content

Microsoft Silverlight

Answered Question how to cancle request in httpmodule?RSS Feed

(0)

kkdhf
kkdhf

Member

Member

3 points

32 Posts

how to cancle request in httpmodule?

hi,

   i wanna to cancle request when i think it has no right to visit the uri  in httpmodule. and i want to return some message to the client.

  now i write message to the response on Begin_Request, then cal response.end(). but remain raise aspx page 's events like page_load.

 how i cancle it?

Yes,I AM Chinese. And My Height More Than 1.74,
Reach 1.75.....Big Guy. :>

kkdhf
kkdhf

Member

Member

3 points

32 Posts

Answered Question

Re: how to cancle request in httpmodule?

.... i make it out now.

use throw some exception....

 

Yes,I AM Chinese. And My Height More Than 1.74,
Reach 1.75.....Big Guy. :>
  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities