티스토리 뷰
쿠키 생성(쿠키 컬렉션)
HttpCookie regionCookies = new HttpCookie("interastRegion");
regionCookies.Values[si_DDL.SelectedValue] = dong_DDL.SelectedValue;
regionCookies.Expires = DateTime.Now.AddYears(1);
Response.Cookies.Add(regionCookies);
쿠키 호출(쿠키 컬렉션)
if (Request.Cookies["interastRegion"] != null)
{
HttpCookie cookieItems = Request.Cookies["interastRegion"];
if (cookieItems.HasKeys)
{
for (int i = 0; i < cookieItems.Values.Count; i++ )
{
regionCookies.Values[cookieItems.Values.AllKeys[i]] = cookieItems.Values[i];
}
}
}
참고 사이트(키워드) : http://msdn.microsoft.com/ko-kr/library/ms178194(v=VS.80).aspx (ASP.NET 쿠키 개요)
반응형
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
TAG
- async
- 공백제거
- MainActor
- 상품 등록
- System.Diagnostics
- 명령어
- html tag
- hyper-v
- system.io
- 특정 문자를 기준으로 자르기
- 문자 자르기
- mssql
- nl2br
- Task
- .submit()
- 아이폰
- 진수 변환
- FileUpload
- 제품 등록
- 앱 스토어
- await
- In App Purchase
- App Store
- trim
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
글 보관함