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. No Image 07Dec
    by kay
    2015/12/07 by kay
    Views 1929 

    변수 ByRef , ByVal

  2. IIS에서 ASP 날짜 형식 YYYY-MM-DD

  3. No Image 20Nov
    by kay
    2014/11/20 by kay
    Views 2443 

    ASP 에러 체크

  4. No Image 20Oct
    by kay
    2014/10/20 by kay
    Views 1719 

    이미지 사이즈 컴포넌트 "pakImage"

  5. No Image 07Aug
    by kay
    2014/08/07 by kay
    Views 2889 

    엑셀 다운로드 시 한글 파일명 깨짐 해결

  6. No Image 12Jun
    by kay
    2014/06/12 by kay
    Views 1952 

    [펌] Request.Form , Request.QueryString 값 확인하기

  7. No Image 20Feb
    by kay
    2014/02/20 by kay
    Views 3138 

    response.Cookie Collection , 쿠키 만료일 미지정시 만료일은?

  8. No Image 28Jan
    by kay
    2014/01/28 by kay
    Views 3149 

    UTF-8 URLDecode 함수

  9. Excel 파일(.xlsx) 읽어서 디비에 넣기

  10. No Image 13Sep
    by kay
    2013/09/13 by kay
    Views 4325 

    오늘 본 상품 쿠키로 처리하기

  11. No Image 31Jul
    by kay
    2013/07/31 by kay
    Views 2784 

    ASP 함수 " HTML 태그 제거하기"

  12. No Image 18Jun
    by kay
    2013/06/18 by kay
    Views 7427 

    ADODB.Stream + ASP에서 파일 다운로드

  13. No Image 13Jun
    by kay
    2013/06/13 by kay
    Views 5797 

    ASPFTP - 컴포넌트를 이용한 ASP 에서 FTP 사용하기

  14. No Image 22May
    by kay
    2013/05/22 by kay
    Views 3493 

    ASP 에서 RSS 가져와서 파싱하기

  15. No Image 20May
    by kay
    2013/05/20 by kay
    Views 3950 

    http를 이용한 xml 호출 및 파싱 ( MSXML2.DomDocument )

  16. No Image 13May
    by kay
    2013/05/13 by kay
    Views 2502 

    문자열 거꾸로 strReverse

  17. No Image 02Apr
    by kay
    2013/04/02 by kay
    Views 10132 

    asp Json 데이터 받기

  18. No Image 29Mar
    by kay
    2013/03/29 by kay
    Views 6037 

    동적 변수 선언 및 프로그래밍 " eval , Execute "

Board Pagination Prev 1 Next
/ 1