Last active
December 22, 2016 03:55
-
-
Save gracefullight/e362fb8763c58142c7218ebf1ff380aa to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- 세션을 만들어줄 서버에서 P3P 헤더를 설정 --> | |
<?php | |
header('P3P: CP="CAO PSA OUR"'); | |
?> | |
<!-- 세션을 가지고 오는 클라이언트 요청--> | |
<script> | |
$.ajax({ | |
url:'cross domain session create url', | |
type:'post', | |
data:{ | |
token1 : 'token1', | |
token2 : 'token2' | |
}, | |
dataType:'jsonp' | |
}).then(function(result){ | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment