質問編集履歴

5

2018/02/12 09:20

投稿

takumi_mas
takumi_mas

スコア52

test CHANGED
File without changes
test CHANGED
@@ -60,6 +60,10 @@
60
60
 
61
61
 
62
62
 
63
+ 同一ドメインです。
64
+
65
+
66
+
63
67
  Python3.6
64
68
 
65
69
  知りたいこと:どうすれば他のページでもCookieを取得出来るのか 回答よろしくお願いします。

4

2018/02/12 09:20

投稿

takumi_mas
takumi_mas

スコア52

test CHANGED
File without changes
test CHANGED
@@ -52,7 +52,7 @@
52
52
 
53
53
 
54
54
 
55
- ログインページ: http://localhost/cgi-bin/logon.py
55
+ ログインページ: http://localhost/cgi-bin/login.py
56
56
 
57
57
 
58
58
 

3

2018/02/12 09:18

投稿

takumi_mas
takumi_mas

スコア52

test CHANGED
File without changes
test CHANGED
@@ -52,6 +52,14 @@
52
52
 
53
53
 
54
54
 
55
+ ログインページ: http://localhost/cgi-bin/logon.py
56
+
57
+
58
+
59
+ メインページ: http://localhost/cgi-bin/index.py
60
+
61
+
62
+
55
63
  Python3.6
56
64
 
57
65
  知りたいこと:どうすれば他のページでもCookieを取得出来るのか 回答よろしくお願いします。

2

2018/02/12 09:18

投稿

takumi_mas
takumi_mas

スコア52

test CHANGED
File without changes
test CHANGED
@@ -17,6 +17,16 @@
17
17
 
18
18
 
19
19
  ### 該当のソースコード
20
+
21
+
22
+
23
+ ```python3
24
+
25
+ cookie = cookies.SimpleCookie(os.environ.get("HTTP_COOKIE",""))
26
+
27
+ cookie["user"] = "test"
28
+
29
+ ```
20
30
 
21
31
 
22
32
 

1

2018/02/12 08:28

投稿

takumi_mas
takumi_mas

スコア52

test CHANGED
File without changes
test CHANGED
File without changes