跳至內容
選單
此問題已被標幟
4061 瀏覽次數


import httpagentparser
from itertools import chain

        uid = super(res_users, self).authenticate(db, login, password, user_agent_env)
        ip_address = request.httprequest.environ['REMOTE_ADDR'] <<<  here is the code for ip its working fyn when its http
        agent = request.httprequest.environ.get('HTTP_USER_AGENT')
        agent_details = httpagentparser.detect(agent)

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
3月 15
4540
7
2月 24
12259
2
3月 15
5376
1
11月 24
1099
0
12月 22
2195