{"id":103,"date":"2008-12-29T06:20:00","date_gmt":"1970-01-01T00:00:00","guid":{"rendered":"http:\/\/www.yazilimmutfagi.com\/?p=103"},"modified":"2008-12-29T06:20:00","modified_gmt":"1970-01-01T00:00:00","slug":"cerezler-cookie-hakkinda-bilgi-ve-asp-net-de-cerez-cookie-kullanimi","status":"publish","type":"post","link":"https:\/\/www.yazilimmutfagi.com\/index.php\/2008\/12\/29\/cerezler-cookie-hakkinda-bilgi-ve-asp-net-de-cerez-cookie-kullanimi\/","title":{"rendered":"\u00c7erez&#8217;ler (Cookie) hakkinda bilgi ve ASP.NET de \u00e7erez (cookie) kullanimi"},"content":{"rendered":"<p style=\"margin: 0cm 0cm 10pt; text-indent: 35.4pt;\" class=\"MsoNormal\"><strong style=\"\"><span style=\"\"><span style=\"font-size: small;\"><span style=\"font-family: Calibri;\">&Ccedil;erez(Cookie) nedir?<\/span><\/span><\/span><\/strong><\/p>\n<p style=\"margin: 0cm 0cm 10pt; text-indent: 35.4pt;\" class=\"MsoNormal\"><span style=\"\"><span style=\"\"><span style=\"font-size: small;\"><span style=\"font-family: Calibri;\">&Ccedil;erez istemci bilgisayarinda veya istemci browserinin hafizasinda olusturulan k&uuml;&ccedil;&uuml;k dosyaciklardir. Bu yolla istemcinin sisteminde daha sonra kullanmak &uuml;zere k&uuml;&ccedil;&uuml;k bilgileri saklanir. &Ccedil;erezler bilgileri d&uuml;z metin seklinde saklarlar. Eger web uygulamasi &ccedil;erezleri kullaniyorsa, sunucu &ccedil;erezleri g&ouml;nderir, istemci ise kaydeder. Ilerde ayni sayfaya istekte bulunuldugu zaman bu sefer istemci sakladigi &ccedil;erezi sunucuya g&ouml;nderir. Genel olarak &ccedil;erezler kullanici bilgilerini tutmak i&ccedil;in kullanilirlar. &Ccedil;erezlerin bir&ccedil;ok avantajlari oldugu gibi dezavantajlari vardir. Ilk olarak &ccedil;erezlerin nasil &ccedil;alistigina bakalim.<\/span><\/span><\/span><\/span><\/p>\n<p style=\"margin: 0cm 0cm 10pt; text-indent: 35.4pt;\" class=\"MsoNormal\"><a href='www.yazilimmutfagi.com'>.<\/a><\/p>\n<p style=\"margin: 0cm 0cm 10pt; text-indent: 35.4pt;\" class=\"MsoNormal\"><span style=\"\"><strong style=\"\"><span style=\"\"><span style=\"font-size: small;\"><span style=\"font-family: Calibri;\">&Ccedil;erezler Nasil &Ccedil;alisir?<\/span><\/span><\/span><\/strong><\/span><\/p>\n<p style=\"margin: 0cm 0cm 10pt; text-indent: 35.4pt;\" class=\"MsoNormal\"><span style=\"\"><span style=\"\"><span style=\"font-size: small;\"><span style=\"font-family: Calibri;\">Istemci sunucudan istekte bulundugunda sunucu istemciye &ccedil;erezleri g&ouml;nderir. G&ouml;nderilen ayni &ccedil;erez alt istekler i&ccedil;inde kullanilabilir.<span style=\"\">&nbsp; <\/span>Birbirinden farkli siteler ve browserlar &ccedil;erezleri farkli sekillerde depolarlar. Bir sayfa &ccedil;erezlerdeki bir bilgiye ihtiya&ccedil; duydugunda ilk olarak local sistemde arama yapar ve buldugu &ccedil;erezi sunucuya g&ouml;nderir.<\/span><\/span><\/span><\/span><\/p>\n<p style=\"margin: 0cm 0cm 10pt; text-indent: 35.4pt;\" class=\"MsoNormal\"><span style=\"\"><strong style=\"\"><span style=\"\"><span style=\"font-size: small;\"><span style=\"font-family: Calibri;\">Avantajlari<\/span><\/span><\/span><\/strong><\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt 71.4pt; text-indent: -18pt;\" class=\"MsoListParagraphCxSpFirst\"><span style=\"\"><span style=\"font-family: Symbol;\"><span style=\"\"><span style=\"font-size: small;\">&middot;<\/span><span style=\"font-family: &quot;Times New Roman&quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><\/span><\/span><span style=\"\"><span style=\"font-size: small;\"><span style=\"font-family: Calibri;\">Kullanimi &ccedil;ok kolaydir.<\/span><\/span><\/span><\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt 71.4pt; text-indent: -18pt;\" class=\"MsoListParagraphCxSpMiddle\"><span style=\"\"><span style=\"font-family: Symbol;\"><span style=\"\"><span style=\"font-size: small;\">&middot;<\/span><span style=\"font-family: &quot;Times New Roman&quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><\/span><\/span><span style=\"\"><span style=\"font-size: small;\"><span style=\"font-family: Calibri;\">Verilerin g&ouml;nderimi isi browser tarafindan yapilir.<\/span><\/span><\/span><\/span><\/p>\n<p style=\"margin: 0cm 0cm 10pt 71.4pt; text-indent: -18pt;\" class=\"MsoListParagraphCxSpLast\"><span style=\"\"><span style=\"font-family: Symbol;\"><span style=\"\"><span style=\"font-size: small;\">&middot;<\/span><span style=\"font-family: &quot;Times New Roman&quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><\/span><\/span><span style=\"\"><span style=\"font-size: small;\"><span style=\"font-family: Calibri;\">&Ccedil;oklu &ccedil;erezler kullanildigi zaman browser otomatik olarak siralama yapar.<\/span><\/span><\/span><\/span><\/p>\n<p style=\"margin: 0cm 0cm 10pt; text-indent: 35.4pt;\" class=\"MsoNormal\"><span style=\"\"><strong style=\"\"><span style=\"\"><span style=\"font-size: small;\"><span style=\"font-family: Calibri;\">Dezavantajlari<\/span><\/span><\/span><\/strong><\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt 71.4pt; text-indent: -18pt;\" class=\"MsoListParagraphCxSpFirst\"><span style=\"\"><span style=\"font-family: Symbol;\"><span style=\"\"><span style=\"font-size: small;\">&middot;<\/span><span style=\"font-family: &quot;Times New Roman&quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><\/span><\/span><span style=\"\"><span style=\"font-size: small;\"><span style=\"font-family: Calibri;\">Veriler d&uuml;z metin dosyalarinda saklandigi i&ccedil;in g&uuml;venli degillerdir.<\/span><\/span><\/span><\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt 71.4pt; text-indent: -18pt;\" class=\"MsoListParagraphCxSpMiddle\"><span style=\"\"><span style=\"font-family: Symbol;\"><span style=\"\"><span style=\"font-size: small;\">&middot;<\/span><span style=\"font-family: &quot;Times New Roman&quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><\/span><\/span><span style=\"\"><span style=\"font-size: small;\"><span style=\"font-family: Calibri;\">&Ccedil;erezlerde saklayabilecegimiz veriler i&ccedil;in boyut sinirlamasi vardir. Bu sinir 4096 byte (4KB dir).<\/span><\/span><\/span><\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt 71.4pt; text-indent: -18pt;\" class=\"MsoListParagraphCxSpMiddle\"><span style=\"\"><span style=\"font-family: Symbol;\"><span style=\"\"><span style=\"font-size: small;\">&middot;<\/span><span style=\"font-family: &quot;Times New Roman&quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><\/span><\/span><span style=\"\"><span style=\"font-size: small;\"><span style=\"font-family: Calibri;\">Kullanilabilecek &ccedil;erez sayisi sinirlidir. &Ccedil;ogu browser &ccedil;erez sayisini 20 ile sinirlandirir, bazilarinda ise bu rakam 300 &lsquo; &ccedil;ikar.<\/span><\/span><\/span><\/span><\/p>\n<p style=\"margin: 0cm 0cm 10pt 71.4pt; text-indent: -18pt;\" class=\"MsoListParagraphCxSpLast\"><span style=\"\"><span style=\"font-family: Symbol;\"><span style=\"\"><span style=\"font-size: small;\">&middot;<\/span><span style=\"font-family: &quot;Times New Roman&quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><\/span><\/span><span style=\"\"><span style=\"font-size: small;\"><span style=\"font-family: Calibri;\">Browser ayarlarini yapmamiz gerekir. Y&uuml;ksek g&uuml;venlik seviyesinde &ccedil;alismazlar.<\/span><\/span><\/span><\/span><\/p>\n<p style=\"margin: 0cm 0cm 10pt; text-indent: 35.4pt;\" class=\"MsoNormal\"><span style=\"\"><strong style=\"\"><span style=\"\"><span style=\"font-size: small;\"><span style=\"font-family: Calibri;\">&Ccedil;erez nasil olusturulur?<\/span><\/span><\/span><\/strong><\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt 35.4pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"\"><span style=\"font-size: 10pt; color: rgb(43, 145, 175); font-family: &quot;Courier New&quot;;\">HttpCookie<\/span><\/span><span style=\"\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"> cerez = <span style=\"color: blue;\">new<\/span> <span style=\"color: rgb(43, 145, 175);\">HttpCookie<\/span>(<span style=\"color: rgb(163, 21, 21);\">&quot;KullaniciBilgileri&quot;<\/span>);<\/span><\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt 35.4pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\">cerez[<span style=\"color: rgb(163, 21, 21);\">&quot;KullaniciAdi&quot;<\/span>] = <span style=\"color: rgb(163, 21, 21);\">&quot;msabrikunt&quot;<\/span>;<\/span><\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt 35.4pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\">cerez[<span style=\"color: rgb(163, 21, 21);\">&quot;Sifre&quot;<\/span>] = <span style=\"color: rgb(163, 21, 21);\">&quot;123456&quot;<\/span>;<\/span><\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt 35.4pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\">Response.Cookies.Add(cerez);<\/span><\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt 35.4pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\">&nbsp;<\/span><\/span><\/p>\n<p style=\"margin: 0cm 0cm 10pt; text-indent: 35.4pt;\" class=\"MsoNormal\"><span style=\"\"><span style=\"\"><span style=\"font-size: small;\"><span style=\"font-family: Calibri;\">Yukarida olusturdugumuz &ccedil;erez browser kapatilana kadar istemci bilgisayarinda saklanir. Bu t&uuml;r &ccedil;erezlere Non Persistent &Ccedil;erez(Ge&ccedil;ici &ccedil;erez) denir.<\/span><\/span><\/span><\/span><\/p>\n<p style=\"margin: 0cm 0cm 10pt 35.4pt;\" class=\"MsoNormal\"><span style=\"\"><strong style=\"\"><span style=\"\"><span style=\"font-size: small;\"><span style=\"font-family: Calibri;\">&Ccedil;erezlerden Bilgi Okuma<\/span><\/span><\/span><\/strong><\/span><\/p>\n<p style=\"margin: 0cm 0cm 10pt; text-indent: 35.4pt;\" class=\"MsoNormal\"><span style=\"\"><span style=\"\"><span style=\"font-size: small;\"><span style=\"font-family: Calibri;\">Daha &ouml;nce kaydettigimiz &ccedil;erezdeki bilgileri okuyalim. Her zaman &ccedil;erezin sistemde olup olmadigini kontrol etmenizi tavsiye ederim. Akdi takdirde browserin &ccedil;erezlere izin vermedigi durumlarda veya &ccedil;erezin silinmesi durumunda sayfaniz hataya d&uuml;ser.<\/span><\/span><\/span><\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; text-indent: 35.4pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"\"><span style=\"font-size: 10pt; color: rgb(43, 145, 175); font-family: &quot;Courier New&quot;;\">HttpCookie<\/span><\/span><span style=\"\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"> cerez = Request.Cookies[<span style=\"color: rgb(163, 21, 21);\">&quot;KullaniciBilgileri&quot;<\/span>];<\/span><\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt 35.4pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"\"><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\">string<\/span><\/span><span style=\"\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"> kullaniciAdi,sifre;<\/span><\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt 35.4pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"\"><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\">if<\/span><\/span><span style=\"\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"> (cerez != <span style=\"color: blue;\">null<\/span>)<\/span><\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt 35.4pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\">{<\/span><\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt 35.4pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span>kullaniciAdi = cerez[<span style=\"color: rgb(163, 21, 21);\">&quot;KullaniciAdi&quot;<\/span>];<\/span><\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt 35.4pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span>sifre = cerez[<span style=\"color: rgb(163, 21, 21);\">&quot;Sifre&quot;<\/span>];<\/span><\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt 35.4pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\">}<\/span><\/span><\/p>\n<p style=\"margin: 0cm 0cm 10pt 35.4pt;\" class=\"MsoNormal\"><span style=\"\"><strong style=\"\"><span style=\"\"><span style=\"font-size: small;\"><span style=\"font-family: Calibri;\">Persistent ve Non Persistent &Ccedil;erezler<\/span><\/span><\/span><\/strong><\/span><\/p>\n<p style=\"margin: 0cm 0cm 10pt 35.4pt;\" class=\"MsoNormal\"><span style=\"\"><span style=\"\"><span style=\"font-size: small;\"><span style=\"font-family: Calibri;\">&Ccedil;erezleri iki kategoriye ayirabiliriz.<\/span><\/span><\/span><\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt 53.4pt; text-indent: -18pt;\" class=\"MsoListParagraphCxSpFirst\"><span style=\"\"><span style=\"font-family: Symbol;\"><span style=\"\"><span style=\"font-size: small;\">&middot;<\/span><span style=\"font-family: &quot;Times New Roman&quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><\/span><\/span><span style=\"\"><span style=\"font-size: small;\"><span style=\"font-family: Calibri;\">Persistent &Ccedil;erezler ( Saklanan)<\/span><\/span><\/span><\/span><\/p>\n<p style=\"margin: 0cm 0cm 10pt 53.4pt; text-indent: -18pt;\" class=\"MsoListParagraphCxSpLast\"><span style=\"\"><span style=\"font-family: Symbol;\"><span style=\"\"><span style=\"font-size: small;\">&middot;<\/span><span style=\"font-family: &quot;Times New Roman&quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><\/span><\/span><span style=\"\"><span style=\"font-size: small;\"><span style=\"font-family: Calibri;\">Non Persistent &Ccedil;erezler (Saklanmayan, Ge&ccedil;ici)<\/span><\/span><\/span><\/span><\/p>\n<p style=\"margin: 0cm 0cm 10pt 35.4pt;\" class=\"MsoNormal\"><span style=\"\"><strong style=\"\"><span style=\"\"><span style=\"font-size: small;\"><span style=\"font-family: Calibri;\">Persistent &Ccedil;erezler<\/span><\/span><\/span><\/strong><\/span><\/p>\n<p style=\"margin: 0cm 0cm 10pt; text-indent: 35.4pt;\" class=\"MsoNormal\"><span style=\"\"><span style=\"\"><span style=\"font-size: small;\"><span style=\"font-family: Calibri;\">Bu t&uuml;r &ccedil;erezler istemcinin hard diskinde son ge&ccedil;erlilik tarihine kadar saklanirlar. Bu t&uuml;r &ccedil;erezlerde bir ge&ccedil;erlilik tarihi olmalidir. Bazen kullanici silene kadar istemcide saklanirlar. <\/span><\/span><\/span><\/span><\/p>\n<p style=\"margin: 0cm 0cm 10pt 35.4pt;\" class=\"MsoNormal\"><span style=\"\"><strong style=\"\"><span style=\"\"><span style=\"font-size: small;\"><span style=\"font-family: Calibri;\">Non Persistent &Ccedil;erezler<\/span><\/span><\/span><\/strong><\/span><\/p>\n<p style=\"margin: 0cm 0cm 10pt; text-indent: 35.4pt;\" class=\"MsoNormal\"><span style=\"\"><span style=\"\"><span style=\"font-size: small;\"><span style=\"font-family: Calibri;\">Bu t&uuml;r &ccedil;erezlere ge&ccedil;ici &ccedil;erezlerde denir. Eger &ccedil;erez tanimlamasinda bir ge&ccedil;erlilik s&uuml;resi yoksa bu &ccedil;erezler istemci browserinin hafizasinda saklanirlar. Yukarida vermis oldugumuz &ouml;rnek ge&ccedil;ici bir &ccedil;erez &ouml;rnegiydi.<\/span><\/span><\/span><\/span><\/p>\n<p style=\"margin: 0cm 0cm 10pt; text-indent: 35.4pt;\" class=\"MsoNormal\"><span style=\"\"><span style=\"\"><span style=\"font-size: small;\"><span style=\"font-family: Calibri;\">Iki t&uuml;r &ccedil;erezi olusturma ve kullanma asamalarinda herhangi bir farklilik yoktur. Aralarindaki tek fark persistent t&uuml;r&uuml; &ccedil;erezlerde ge&ccedil;erlilik s&uuml;resinin verilmis olmasidir.<\/span><\/span><\/span><\/span><\/p>\n<p style=\"margin: 0cm 0cm 10pt; text-indent: 35.4pt;\" class=\"MsoNormal\"><a href='www.yazilimmutfagi.com'>.<\/a><\/p>\n<p style=\"margin: 0cm 0cm 10pt 35.4pt;\" class=\"MsoNormal\"><span style=\"\"><strong style=\"\"><span style=\"\"><span style=\"font-size: small;\"><span style=\"font-family: Calibri;\">Persistent &Ccedil;erez Tanimlama<\/span><\/span><\/span><\/strong><\/span><\/p>\n<p style=\"margin: 0cm 0cm 10pt; text-indent: 35.4pt;\" class=\"MsoNormal\"><span style=\"\"><span style=\"\"><span style=\"font-size: small;\"><span style=\"font-family: Calibri;\">Yukarda ge&ccedil;ici bir &ccedil;erezin nasil tanimlanacaginin &ouml;rnegini vermistik, simdi ise istemci hard diskinde saklanan persistent t&uuml;r&uuml; bir &ccedil;erez &ouml;rnegi yapalim.<\/span><\/span><\/span><\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt 35.4pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"\"><span style=\"font-size: 10pt; color: rgb(43, 145, 175); font-family: &quot;Courier New&quot;;\">HttpCookie<\/span><\/span><span style=\"\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"> cerez = <span style=\"color: blue;\">new<\/span> <span style=\"color: rgb(43, 145, 175);\">HttpCookie<\/span>(<span style=\"color: rgb(163, 21, 21);\">&quot;KullaniciBilgileri&quot;<\/span>);<\/span><\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt 35.4pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\">cerez[<span style=\"color: rgb(163, 21, 21);\">&quot;KullaniciAdi&quot;<\/span>] = <span style=\"color: rgb(163, 21, 21);\">&quot;msabrikunt&quot;<\/span>;<\/span><\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt 35.4pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\">cerez[<span style=\"color: rgb(163, 21, 21);\">&quot;Sifre&quot;<\/span>] = <span style=\"color: rgb(163, 21, 21);\">&quot;123456&quot;<\/span>;<\/span><\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt 35.4pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\">cerez[<span style=\"color: rgb(163, 21, 21);\">&quot;Gecerlilik&quot;<\/span>] = <span style=\"color: rgb(163, 21, 21);\">&quot;5 G&uuml;n&quot;<\/span>;<\/span><\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt 35.4pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\">cerez.Expires = <span style=\"color: rgb(43, 145, 175);\">DateTime<\/span>.Now.AddDays(5);<\/span><\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt 35.4pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\">Response.Cookies.Add(cerez);<\/span><\/span><\/p>\n<p>&nbsp;<span style=\"font-size: small; font-family: Calibri;\">Bu makalemizde &ccedil;erezlerin kullanimi hakkinda bilgi vermeye &ccedil;alistik. Baska makalelerde g&ouml;r&uuml;lmek &uuml;zere.<\/span><\/p>","protected":false},"excerpt":{"rendered":"<p>&#199;erez istemci bilgisayarinda veya istemci browserinin hafizasinda olusturulan k&#252;&#231;&#252;k dosyaciklardir. Bu yolla istemcinin sisteminde daha sonra kullanmak &#252;zere k&#252;&#231;&#252;k bilgileri saklanir. &#199;erezler bilgileri d&#252;z metin seklinde saklarlar. <\/p>\n","protected":false},"author":517,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[407],"tags":[6364,4299,6415,6337,6275,4475,6396,6230,6109,6456,6024,6432,5217,5775,5645,6443,5050],"_links":{"self":[{"href":"https:\/\/www.yazilimmutfagi.com\/index.php\/wp-json\/wp\/v2\/posts\/103"}],"collection":[{"href":"https:\/\/www.yazilimmutfagi.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.yazilimmutfagi.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.yazilimmutfagi.com\/index.php\/wp-json\/wp\/v2\/users\/517"}],"replies":[{"embeddable":true,"href":"https:\/\/www.yazilimmutfagi.com\/index.php\/wp-json\/wp\/v2\/comments?post=103"}],"version-history":[{"count":0,"href":"https:\/\/www.yazilimmutfagi.com\/index.php\/wp-json\/wp\/v2\/posts\/103\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.yazilimmutfagi.com\/index.php\/wp-json\/wp\/v2\/media?parent=103"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.yazilimmutfagi.com\/index.php\/wp-json\/wp\/v2\/categories?post=103"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.yazilimmutfagi.com\/index.php\/wp-json\/wp\/v2\/tags?post=103"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}