Pdf file Retriving problem

Posted by Venkatesh under ASP.NET on 12/1/2010 | Points: 10 | Views : 1256 | Status : [Member] | Replies : 3
Hi,

I am creating pdf file that will be saved in another folder which in the project folder.In the global.asax file i write the code that is in the Appliation_BeginRequest,
In this method i write the code to test which .aspx or not.When it is .aspx it is executing but if it is in .pdf it will not executing how to do this

Thanks




Responses

Posted by: Srinu.gandikota on: 1/1/2011 [Member] Starter | Points: 25

Up
0
Down
hi venkatesh we can't undetstand ur problem please specify ur problem clearly

Venkatesh, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Karthikanbarasan on: 1/7/2011 [Member] [Moderator] [Microsoft_MVP] [MVP] Silver | Points: 25

Up
0
Down
Venkatesh, can you elaborate your requirement a bit... so that we can analyze the issue

Thanks
Karthik
www.f5Debug.net

Venkatesh, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Suresh.mekkattil on: 1/9/2011 [Member] Bronze | Points: 25

Up
0
Down
Hi Venkatesh,

I think you want to track the URL, which mean you need to do some action when the request is something like this, http://yoursite.com/somepage.aspx.
and you want to do some action when the request is something like this; http://yoursite.com.somepage.pdf.

If my understanding is correct, you need to create a HttpHandler or a HttpModule according to your need, and configure that in the web.config under section, <httpHandler> or <httpModule>

This was my understanding of your question.

-----
Suresh M

Venkatesh, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response