1 2 3 4 View State COOKIES Session
- Slides: 31
ПЛАН ДОКЛАДА 1. 2. 3. 4. View State Межстраничный обмен COOKIES Session State Mattew Mac. Donald: “Pro ASP. NET 3. 5 in C# 2008” ─ Глава 1, Раздел 6 2
ASP. NET State Management: 1. VIEW STATE 3
БЕЗОПАСНОСТЬ VIEW STATE Hash codes включены по умолчанию. Для изменения: <%@ Page Language="C#" Enable. View. State. Mac ="false « … Для шифрования содержимого View State <%@ Page View. State. Encryption. Mode = "Always" … 13
СТРОКА ЗАПРОСА (QUERY STRING) Для хранения информации в строке запроса необходимо занести ее туда вручную: Response. Redirect("Query. String. Recipient. aspx" + "? Version=" + ((Control)sender). ID); Извлечение значения: Request. Query. String["Version"]; URL шифрование Response. Redirect("Query. String. Recipient. aspx" + "? Version=" + Server. Url. Encode(((Control)sender). ID)); 15
CROSS-PAGE DEMO 16
ASP. NET State Management: 3. COOKIES 17
COOKIES Извлечение кукисов: string lang; if (cookie != null) lang = cookie["Lang"]; Удаление кукисов: Http. Cookie cookie = new Http. Cookie("Preferences"); cookie. Expires = Date. Time. Now. Add. Years(-1); Response. Cookies. Add(cookie); 19
ASP. NET State Management: 4. SESSION STATE 20
SESSION STATE MEMBERS 24
SESSION STATE MEMBERS 25
КОНФИГУРИРОВАНИЕ SESSION STATE: MODE -> STATE SERVER 28
КОНФИГУРИРОВАНИЕ SESSION STATE: COOKIELESS 29
- Perbedaan session dan cookies
- Asp net session state
- Mole cookies
- Please dont eat my cookie
- Convergent boundary oreo
- Syn cookies
- Cookies frames and frame busting
- Do refrigerator cookies contain a high proportion of fat
- What are the 6 types of cookies with examples?
- Same origin policy cookies
- Crushing a can physical or chemical change
- Dxn madhuram cookies
- Types of cookies texture
- Objective of cookies
- Methods of cookies
- Browser security model
- Abc smart cookie
- Let's make some cookies
- Oreo cookies plate tectonics
- Tahap akhir penyusunan laporan keuangan mikita cookies
- Oreo tectonic plates
- Earth's foldable layers
- Javascript alert document cookie
- Do refrigerator cookies contain a high proportion of fat
- Activar cookies internet explorer
- Header manipulation: cookies
- Algorithm for baking cookies
- How to calculate income elasticity of demand formula
- Sessions without cookies
- Rolled cookies definition
- Algorithm recipe example
- Boston girl bakes chocolate chip cookies