Click here to Skip to main content
15,888,461 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: How to avoid sending mails for Spam Section? Pin
Vasudevan Deepak Kumar25-Sep-07 6:51
Vasudevan Deepak Kumar25-Sep-07 6:51 
GeneralRe: How to avoid sending mails for Spam Section? Pin
N a v a n e e t h26-Sep-07 3:41
N a v a n e e t h26-Sep-07 3:41 
AnswerRe: How to avoid sending mails for Spam Section? Pin
Vasudevan Deepak Kumar25-Sep-07 6:52
Vasudevan Deepak Kumar25-Sep-07 6:52 
Questionproblem in binding dropdown list Pin
Piyush Vardhan Singh25-Sep-07 1:12
Piyush Vardhan Singh25-Sep-07 1:12 
AnswerRe: problem in binding dropdown list Pin
Parwej Ahamad25-Sep-07 1:17
professionalParwej Ahamad25-Sep-07 1:17 
AnswerRe: problem in binding dropdown list Pin
M_Menon26-Sep-07 7:55
M_Menon26-Sep-07 7:55 
Questionasp:CreateUserWizard Issues Pin
Brendan Vogt25-Sep-07 0:46
Brendan Vogt25-Sep-07 0:46 
QuestionSecure PDF Files Pin
adnanrafiq25-Sep-07 0:28
adnanrafiq25-Sep-07 0:28 
how to secure files (pdf), the recomendation is httphandelers, it works absolutely great.But now an new issue has been arrived.
What i did , i registerd ISAPI extension (.pdf) in IIS 6.0,to let process the request to ASP.Net runtime, there i used context.response.transmitfile to send the file to the browser, as client will be viewing file in browser not downloading, but in case when file is bigger than 20 MB ,(file can be upto 100MB), it takes time, obviously it should take.
But when we redirect or request pdf file without registering ISAPI extension, browser starts showing file, means you see instantly first page or few pages while other are downloading, how to achive this kind of performance, and this kind of behaviour, with letting asp.net runtime process the request.
I hope you guys get my question & if any explaination needed please ask.

Note: Same issue with uploading files with .Net uploader control, even after we change machine.config file size attribute, i want suggestion about better performance, when many users are doing both uploading, and viewing files from repository.


context.Response.Clear();
context.Response.AddHeader("content-disposition", "inline;filename=" + values[1] + ".pdf");
context.Response.ContentType = "application/pdf";
context.Response.BufferOutput = false;
context.Response.TransmitFile(physicalfilepath);
context.Response.Flush();
context.Response.Close();
context.Response.End();

Many Thanks,
Adnan Rafiq
muhammadadnanrafiq@gmail.com

QuestionHiding Web Service so that public cant see the Signature of the Web Method Pin
Nadia Monalisa25-Sep-07 0:27
Nadia Monalisa25-Sep-07 0:27 
AnswerRe: Hiding Web Service so that public cant see the Signature of the Web Method Pin
Paddy Boyd25-Sep-07 1:02
Paddy Boyd25-Sep-07 1:02 
GeneralRe: Hiding Web Service so that public cant see the Signature of the Web Method Pin
Nadia Monalisa25-Sep-07 1:16
Nadia Monalisa25-Sep-07 1:16 
GeneralRe: Hiding Web Service so that public cant see the Signature of the Web Method Pin
Paddy Boyd25-Sep-07 1:22
Paddy Boyd25-Sep-07 1:22 
AnswerRe: Hiding Web Service so that public cant see the Signature of the Web Method Pin
kubben25-Sep-07 1:23
kubben25-Sep-07 1:23 
Questionvalidations error Pin
hepsy.i25-Sep-07 0:24
hepsy.i25-Sep-07 0:24 
QuestionshowModalDialog with no borders Pin
Hanan88824-Sep-07 23:55
Hanan88824-Sep-07 23:55 
AnswerRe: showModalDialog with no borders Pin
Malcolm Smart25-Sep-07 2:58
Malcolm Smart25-Sep-07 2:58 
GeneralThank you but i'm using .net 2.0 Pin
Hanan88825-Sep-07 1:21
Hanan88825-Sep-07 1:21 
QuestionData Grid Edit Pin
mohant$.net24-Sep-07 23:26
mohant$.net24-Sep-07 23:26 
AnswerRe: Data Grid Edit Pin
Paras Kaneriya24-Sep-07 23:53
Paras Kaneriya24-Sep-07 23:53 
GeneralRe: Data Grid Edit Pin
mohant$.net24-Sep-07 23:56
mohant$.net24-Sep-07 23:56 
GeneralRe: Data Grid Edit Pin
Paras Kaneriya25-Sep-07 0:07
Paras Kaneriya25-Sep-07 0:07 
Questionuploading error Pin
IamAmit24-Sep-07 23:21
IamAmit24-Sep-07 23:21 
AnswerRe: uploading error Pin
Sathesh Sakthivel24-Sep-07 23:37
Sathesh Sakthivel24-Sep-07 23:37 
GeneralRe: uploading error Pin
IamAmit24-Sep-07 23:55
IamAmit24-Sep-07 23:55 
QuestionHow to get Boundcolumn value on button click Pin
That's Aragon24-Sep-07 22:29
That's Aragon24-Sep-07 22:29 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.