Kod Bankasi
  ADO.NET - ADO
  Asp
  ASP.NET
  C #
  C ++
  CGI
  DELPHI
  FLASH
  HTML
  JAVA - JSP
  JAVA SCRIPT
  PASCAL
  PERL
  PHP
  Veritaban
  VISUAL BASIC
  VISUAL BASIC.NET
  Webmaster
  WML
  XML

Google Pagerank

 Güvenlik Exploit  remote local dos / poc web apps
[remote]  MS Internet Explorer XML Parsing Buffer Overflow Exploit [web apps]  Ultimate PHP Board <= 2.2.1 (log inj) Privilege Escalation Exploit [web apps]  FubarForum 1.6 Admin Bypass Change User Password Vulnerability [web apps]  TaskDriver <= 1.3 Remote Change Admin Password Exploit [web apps]  eDContainer v2.22 (lg) Local File Inclusion Vulnerability [web apps]  eDNews v2 (lg) Local File Inclusion Vulnerability [web apps]  webClassifieds 2005 (Auth Bypass) SQL Injection Vulnerability [web apps]  EasySite 2.3 Multiple Remote Vulnerabilities [remote]  FlashGet 1.9.0.1012 (FTP PWD Response) BOF Exploit (safeseh) [remote]  FlashGet 1.9.0.1012 (FTP PWD Response) SEH STACK Overflow Exploit [web apps]  cyberBB 0.6 Multiple Remote SQL Injection Vulnerabilities [web apps]  VidiScript (Avatar) Remote Arbitrary File Upload Vulnerability [web apps]  Joomla Component EZ Store Remote Blind SQL Injection Exploit [web apps]  Joomla Component EZ Store Remote Blind SQL Injection Exploit [local]  IrfanView <= 3.99 IFF File Local Stack Buffer Overflow Exploit

Response.Buffer ve kullanımı

Response.Buffer ve kullanımı
İncelenme : 112 | Eklenme : 23.05.2008 15:47:19
 Response.Buffer ve kullanımı
 

Response.Buffer fazla kullanılmayan bir metottur. Response.Buffer açıksa kodların hepsi önce okunur daha sonra sunucuya(sayfaya) yazdırır. Eğer kapalıysa okuduğunu sayfaya yazdırır.  response.buffer = true kullanmak sayfaların açılmasını da hızlandırır. Bu komut kullanıldığında sunucu hem sayfayı hazırlamaya hem de bir yandan hazır olan kısımları göndermeye uğraşmaz. Önce sayfayı tamamıyla hazırlar ve tamamı hazır olunca gönderir. Bu da sunucuya binen toplam yükü azaltır.

Response.Buffer=true  açık Response.Buffer=false kapalı

<%
Response.Buffer=false
Response.Write (“elma”) & “

Response.Write (“armut”) & “

Response.Write (“portakal”)
%>

Sayfada görünümü:
elma
armut
portakal

Örnekte buffer değeri false olduğu için sistem okuduğu kodu sayfaya yazdırır. Response.Write (“elma”)’yı okur sayfaya yazdırır ardından Response.Write (“armut”)’u okur sayfaya yazdırır, sonra Response.Write (“portakal”)’ı okur sayfaya yazdırır.
Buffer değeri true olsaydı yazıları sırayla değil de hepsini aynı anda gösterecekti.
Not: Günümüzde internet hızı yüksek olduğu için bu farkı göremezsiniz.

 
     
Top!

Bir AvrasyaSoft Hizmetidir. Since 2007
Murat Çetin

Top!