Web Forms :: Streaming CSV (or TXT) Content To The Browser Over SSL/HTTPS

May 4, 2010

Has anyone had issues with streaming CSV (or TXT) content to the browser over SSL/HTTPS.

There are no issues when running my code in Firefox - i've found a bunch of issues, all seem to be solved for people using PHP.

this.Response.ClearContent();
this.Response.ClearHeaders();
this.Response.Buffer = true;
...
this.Response.AddHeader("","") // headers
this.Response.Write("TXT STRING GOES HERE");
this.Response.Flush();
this.Response.End();

I've tried all different headers to remove the no-cache, pragma ...etc.

[code]....

View 7 Replies


Similar Messages:

Web Forms :: Browser Hangs On File (video) Streaming?

May 4, 2010

I'm having a problem with file streaming where this file is a video that is streamed to a FLV player.

Essential components for understanding the problem:

- An asp.net page called Viewer.aspx that has de FLV player incorporated in the HTML.

- An asp.net page (It could be an http handler but in this case it's not) called Downloader.aspx that gets a flv file from somewhere on the web and writes it to the Response Output Stream.

Everytime Viewer.aspx is called, it makes Downloader.aspx the source of the the FLV player and the video is correclty presented and streamed into the player.

The problem I am having now is that any user interaction with the page (even typing an URL inside the same website domain on the browser address bar) becames hung until the video download ends.

I can measure this video download with HTTP Watch for example, and confirm that just after the video download into the player ends, the command issued by the user is immediately processed (or the browser goes to another page if the user typed a new address in the browser address bar).

I tought that it could be the limit of 2 connections per domain, but HTTP Watch only shows one active connection (the video download into the FLV player).

Even if it was this 2 connections limit, I think a nice solution would be to somewhat detect the user interaction with the page and abort that video download.

View 1 Replies

Streaming Content From (sharepoint) Web Part

Mar 22, 2010

How does one stream files, html or custom AJAX responses from web parts? Our current quick-and-very-dirty solution is to make the web part call the current page with certain query parameters, which the web part checks and instead of performing normal load it writes the required things to output and calls response end.

This sounds bad since SharePoint might load other web parts and execute their code before reaching our web part. The web part is configured with data source settings which means the streaming context must be specific to the web part so it can acquire the correct data source settings.

View 1 Replies

Web Forms :: Detecting If The TLS Variant Of Https Is Supported On Browser?

Nov 1, 2010

Due to security restrictions, we must run our web site under the TLS variant of https (SSL is disabled on the server...only TLS is enabled on the server).

The problem we have is that some customers have TLS disabled in their Internet Explorer Tools/Internet Options/Advanced settings...and they get a "page cannot be displayed" error.

I need a way to tell those users to "go enable TLS on your browser" (like display a page for this saying this).

how I can determine if (with the server having only TLS...not SSL...enabled) if the browser can support the https?

View 5 Replies

Configuration :: How To Get All Content To Come Over As Https

Feb 14, 2011

I am creating a website in Visual Studio 2010 for ASP.NET 4.0 written in C#.

I have a Global.asax file with a method to force specific pages or directories to use https. Then in the web.config file, I define which pages and directories should use https.

The problem I am running into is content not coming over as https even though the URL is https, so IE gives a security warning. We do have a valid cert on the domain. The security warning pop up says, "Do you want to view only the webpage content that was delivered securely? This webpage contains content that will not be delivered using a secure HTTPS connection, which could compromise the security of the entire webpage." If users choose Yes, then parts of the applications do not work.

Is there a way that I can force the content (images, JavaScript files included in the page, etc) to come over as https? All the files are on the web server, so I am not trying to include outside resources (like not displaying a video or image from another site, it is all on my site's web server). I want to avoid absolute URLs in my code because some of the applications are complex and I cannot find all the places where resources are being called.

View 3 Replies

Open New Https Browser Window Using JavaScript?

Jul 30, 2010

I have situation where in c# code I am adding an onclick client event handler.
It should do:

Button1.Attributes.Add("onclick", "javascript:window.open('https://"+Request.ServerVariables["HTTP_POST"]+"/reports/?type=1&id=2");

in the end the URL looks like:

https://servername/reports/?type=1&id=2

in the reports folder of my site I have a default aspx page that handles those parameters.

When I click the button with this event, a new window opens but it says there is no page at that address. When I use the link like this

https://servername/reports/default.aspx?type=1&id=2

The page opens but it's blank.

When I run this code as non secure with HTTP, everything works just like it should. The report opens.

Is there any difference using those two different URLs with default.aspx and without it, because in development it behaves the same way, but under HTTPS one page doesn't exist and another is blank?! Is HTTPS the reason for that?

View 3 Replies

Configuration :: How To Host A Same Page With Same Content On HTTP As Well As HTTPS

Jul 30, 2010

I am creating a website with password-protected pages in it.

I have two type of customer: 1. Free 2. Paid

For paid customers, pages would be rendered over HTTPS whereas for free customer, pages will be rendered over HTTP. However, pages for both types of users would be same (while populating specific information for each user.)

note, the URL for the two users should be same except HTTP/HTTPS part.

I am new to HTTPS and want to know how to achieve this.

I am wondering how to implement it?

View 3 Replies

Configuration :: How To Ensure That Secure Content Is Served Over HTTPS Only (IIS 6.0)

Jun 7, 2010

How can I Ensure That Secure Content Is Served Over HTTPS Only (IIS 6.0)? when the certificate is installed. In other words how can I direct all the http request to https. For example when some type http://localhost it redirects to https://localhost.

View 2 Replies

Web Forms :: Browser Displays Commented Out Content?

Jan 8, 2011

Anyone know why after content has been commented out it still displays in the browser. Design view as you would expect does not show the content. Here is the commented out data:

< body>
<!-- <form id="form1" runat="server">-->
<div

[code]...

View 2 Replies

Web Forms :: Browser Error Message Re Mixed Content?

Aug 4, 2010

I have a website that deliveres content from secure source (https://) after the user authenticates. I added a new page where I use an Iframe to display a pdf file. It works fine when I try it from the dev server where I do not get directed from https, but when trying from the actual site I get the error message 'Do you want to view only the webpage content that was delivered securely?' I understand this is because the Iframe source is not secure (the source file is in the root directory of the webpage) Where should I store the content for the Iframe? Can I use a local directory on the server rather than one in the root directory?

View 5 Replies

Web Forms :: Creating Browser Like Tabs On Master - Content Pages

Feb 2, 2010

I'm working on master pages. And I would like to create tabs much like firefox tabs sharing sessions which need to navigate on different pages.I tried many solution but all comes into vain.

View 3 Replies

Web Forms :: Panel ScrollBars Not Appearing In Chrome Browser When Content Overflow

May 19, 2012

 <cc1:ModalPopupExtender ID="ModalPopupExtender1" runat="server" TargetControlID="Button3" BehaviorID="popup1" PopupControlID="Panel2" BackgroundCssClass="modalBackground" OkControlID="cmdclose" />
<asp:Panel ID="panel2" BackColor="Silver" BorderStyle="Solid" BorderWidth="4"  BorderColor="ActiveBorder" Width="775px" Height="550px" runat="server"><grid>   </asp:Panel> 

I have the above. It works fine in IE & FF  but in chrome 1) if more rows  grid appears out of panel without scroll bar (same works fine in IE & FF)2) when clicked any where the grid disappears or close but in IE & FF it closes only on cmdclose...

View 1 Replies

C# - Display File Content In Browser Using .Net?

Oct 22, 2010

I want to display a file content (HTML file) inside a web page using ASP. I'm trying to display 2 files and show the differences. So i need to color different rows. I tried with TextBox but i can not color a single row. Something like this but inside a browser. I should be able to easily navigate through rows. (like SetRowColor(rowNumber, color))

View 3 Replies

AJAX :: Content In Accordion Won't Show Up Until Resize Browser

Jun 24, 2010

I've a detailedview and gridview in an accordion pane. Whenever I triggered some postback actions (e.g. delete some row in the gridview or edit the values in the detailedview), the content in the pane became empty. It would show up correctly if I resized the browser. This only happens in IE8, but work correctly in FireFox. Is this a problem of the browser, or can I improve my code to prevent this from happening? The following is my code

[Code]....

View 1 Replies

JQuery :: How To Limit The Browser Content To Zoom Using JavaScript

Aug 5, 2010

I have a browser in which i like to limit the zooming content using JavaScript in Asp.net

View 4 Replies

Web Forms :: Dynamically Changing Size Of Content Placeholder Based On Browser Size?

Oct 14, 2010

I know the content palcehlder does not have a size ,I have a masterpage and content page, the master page has a table with a header, content area, and footer, header and footer are fixed size, content area is 100%. As the user sizes the browser the content area grows and shrinks and the footer stays at the
bottom of the browser window - perfect!

Problem: The contentpalceholder does not grow to fill the available content area. Now, the contentplaceholder gets its size from its contents, which in this case is a div holding a silverlight object.I was thinking I could hook the master or child page's re-size event and somehow pass that info onto the SL object, but as it turns out (and I'm surprised I never knew this) there is no aps.net page re-size event! (really?, wow.)

So is there a way to get a SL object hosted on a master page to size itself based on the size of the browser window?Or more generally, a way to size the contents (like a div or panel) of a contentplaceholder based on the browser? on a standard aspx page (not a master page) I CAN get the SL object to size itself based on the broswer, the problem seems to come from the fact that I'm hosting the SL object in a content placeholder.

I guess I could 'unroll' the master page into several standalone pages and have it work, but the menu is on the master page and I'm used to using them, plus it's already done...<sigh>

View 1 Replies

Web Forms :: Call An Alternative Css Page If The Browser Is IE On A Content Page?

Apr 25, 2010

What is the best way to call an altenative css page if the browser is IE on a content page (re master/content)?

many of the hacks are in javascript, but I am woindering if I should be using "System.Web.HttpBrowserCapabilities browser = Request.Browser;" instead

View 2 Replies

Content Of The Grid Has Changed In The Meantime And Follow Message In All Browsers(different In Every Browser)?

Aug 7, 2010

in a page that i have datagrid i see that if the content of the grid has changed in the meantime then occurs thwe follow message in all browsers(different in every browser)To display this page, Firefox must send information that will repeat any action (such as a search or order confirmation) that was performed earlier.and then if i click yes resends the last post that was sended

View 32 Replies

Docx File Doesn't Open In Browser With Content Disposition Inline In IE 8

Jul 2, 2010

I want to open docx file in IE from asp.net. The IIS has mime type correctly mapped. I can open pdf fine but docx will always prompt me to download like content-disposition='attachment'. Is there any setting to be done?

[code].....

View 2 Replies

Web Forms :: How To Implement Video Streaming

Oct 18, 2010

I need to do video streaming on my webpage. Whats the best way to implement video streaming functionality. I am using .NET 2.0 with VS 2005.

View 2 Replies

Web Forms :: Fast Streaming For Avi Files?

Feb 24, 2011

We are playing video(avi) in our web site .Its taking time to play the file .Nothing is showing for 2 mins.Is there any way to streaming the file.for playing video file code is from this linkhttp://www.daniweb.com/code/snippet216568.html

View 3 Replies

Web Forms :: How To Write Coding For Video Streaming

Apr 16, 2010

How to do/write coding for vedio streaming for asp.net(except usiing silver light)

View 2 Replies

Web Forms :: Video Conversion, Uploading & Streaming?

Apr 20, 2010

I am totally desparate with the task of Video Conversion, uploading & streaming. I have gone through various articles, posts, blogs and code snipped but couldnt find any full working solution for that.I was advised to work with ffmpeg and i got the functionality [URL]but later i come to know that most asp.net servers (including mine) do not allow to ffmpeg on the server.

Then i look for other solutions, some are saying to convert video files manually and then upload to website (funny hannn). Some are suggesting other site which can store our video and stream from there servers .....So i am stuck now and dont know where to go. I need a complete solution of this problem. Like Users could upload a video file (of any format or at least a good number of choice for upload file format), then they click an upload button and video conversion (e.g. to .flv took place) and the output should be displayed to a user in video player (showing our own logo, not youtube logo....etc.) and thats it.I will definately appreciate all of your comments and guidence.

View 4 Replies

Web Forms :: Website With Live Music Streaming

Dec 15, 2012

I want to create a website that streams live music, something like a radio, users go on to the website listen to the music, then can see what song is playing, and they can chat amoung them.Also that the person streaming the songs can as well have a speech in between the songs.i have been researching but couldnt find much information, most of the stuff i found out its very advanced, and i dont want to be copying someones code just for the sake of doing something. 

View 1 Replies

Web Forms :: Live Audio / Video Streaming In An Website?

Sep 27, 2010

My project is to create a website that facilitates giving live lectures on intranet. Hence, the bandwidth is not an issue here.

Also, I have implemented some basic code of live streaming using windows media encoder SDK in a C# console application. I was able to view the streaming on another LAN PC in VLC player.

Now, how do I implement my code in the asp.net website? What I want is that in order to start the streaming (i.e., start the live lecture), the facutly just clicks on a button in a webpage. This will stream his movements to the students (via a server). Also, this will enable the facutly to view himself on the webpage.

Is this even possible? I mean it would be like : both the student and the faculty will access the same website. The interface to both of them will be different - one will start the stream and the other (student) will receive the stream.

Or will I have to create a different application to start the streaming? So it would be like the facutly will start that applicaiton to start the streaming and the students will access the stream throught the player embedded in the website.

Another question is : what player should I use to receive the stream (on the student side)? Windows Media Player (I heard that it has problems with firefox)? Or the ubiqutous flash plugin will succeed in capturing the media encoder stream?

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved