Skip to content

Instantly share code, notes, and snippets.

@gracefullight
Last active December 22, 2016 03:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gracefullight/e362fb8763c58142c7218ebf1ff380aa to your computer and use it in GitHub Desktop.
Save gracefullight/e362fb8763c58142c7218ebf1ff380aa to your computer and use it in GitHub Desktop.
<!-- 세션을 만들어줄 서버에서 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