My Name is Kay....

DIY , 먹방 , 개발 , 육아 , 여행 좋아합니다.
AdBlock 사용시 화면이 정상적으로 노출되지 않습니다.
포스팅 관련 문의 및 개발 문의는 Email : wkzkfmxksi@gmail.com

추가 포스팅이 이뤄지지 않는 블로그입니다. 문의는 wkzkfmxksi@gmail.com 으로 연락주세요.
kay
조회 수 3138 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄

기본적인 읽기 쓰기는 잘 사용해왔으나 

근래에 만료일을 지정하지 않아 쿠키가 계속 남아있을것같다. 라는 추측하고 일처리를 한적이 있었는데

MSDN 자료에는 쿠키 만료일을 지정하지 않으면 세션 종료시에 쿠키가 만료된다고 합니다.


사소한 정보이고 평소에 별 생각없이 사용하던 쿠키도 들여다보니 공부할것이 많습니다.. T^T



* Syntax


Response.Cookies(cookie)[(key)| .attribute] =value



* Parameters

- cookie

The name of the cookie. 

- key

An optional parameter. If key is specified, Cookie is a dictionary, and key is set to value. 

- attribute

Specifies information about the Cookie itself. The attribute parameter can be one of the following.


Name

Description

Domain

Write-only. If specified, the Cookie is sent only to requests to this domain.

Expires

Write-only. The date on which the Cookie expires. This date must be set in order for the Cookie to be stored on the client's disk after the session ends. If this attribute is not set to a date beyond the current date, the Cookie expires when the session ends.

HasKeys

Read-only. Specifies whether the cookie contains keys.

Path

Write-only. If specified, the Cookie is sent only to requests to this path. If this attribute is not set, the application path is used.

Secure

Write-only. Specifies whether the Cookie is secure.

- Value

Specifies the value to assign to key or attribute.




참고 Url : http://msdn.microsoft.com/en-us/library/ms524757(v=vs.90).aspx

?

  1. 변수 ByRef , ByVal

    Date2015.12.07 Bykay Views1952
    Read More
  2. IIS에서 ASP 날짜 형식 YYYY-MM-DD

    Date2015.08.24 Bykay Views1943
    Read More
  3. ASP 에러 체크

    Date2014.11.20 Bykay Views2457
    Read More
  4. 이미지 사이즈 컴포넌트 "pakImage"

    Date2014.10.20 Bykay Views1720
    Read More
  5. 엑셀 다운로드 시 한글 파일명 깨짐 해결

    Date2014.08.07 Bykay Views2893
    Read More
  6. [펌] Request.Form , Request.QueryString 값 확인하기

    Date2014.06.12 Bykay Views1954
    Read More
  7. response.Cookie Collection , 쿠키 만료일 미지정시 만료일은?

    Date2014.02.20 Bykay Views3138
    Read More
  8. UTF-8 URLDecode 함수

    Date2014.01.28 Bykay Views3150
    Read More
  9. Excel 파일(.xlsx) 읽어서 디비에 넣기

    Date2013.12.08 Bykay Views26050
    Read More
  10. 오늘 본 상품 쿠키로 처리하기

    Date2013.09.13 Bykay Views4325
    Read More
  11. ASP 함수 " HTML 태그 제거하기"

    Date2013.07.31 Bykay Views2786
    Read More
  12. ADODB.Stream + ASP에서 파일 다운로드

    Date2013.06.18 Bykay Views7438
    Read More
  13. ASPFTP - 컴포넌트를 이용한 ASP 에서 FTP 사용하기

    Date2013.06.13 Bykay Views5808
    Read More
  14. ASP 에서 RSS 가져와서 파싱하기

    Date2013.05.22 Bykay Views3499
    Read More
  15. http를 이용한 xml 호출 및 파싱 ( MSXML2.DomDocument )

    Date2013.05.20 Bykay Views3953
    Read More
  16. 문자열 거꾸로 strReverse

    Date2013.05.13 Bykay Views2502
    Read More
  17. asp Json 데이터 받기

    Date2013.04.02 Bykay Views10134
    Read More
  18. 동적 변수 선언 및 프로그래밍 " eval , Execute "

    Date2013.03.29 Bykay Views6043
    Read More
Board Pagination Prev 1 Next
/ 1