关于微信与微网站的连接,如何获取进入网站的用户的唯一标识
关于微信与微网站的连接,怎么获取进入网站的用户的唯一标识?
我在做个微网站。我的公众号是订阅号,我想发个链接给用户,用户通过链接进入我的微网站后,我如何获取用户的标识,以便用户下次来访不用再登录,而我就能知道用户的信息?如何实现 求代码
------解决思路----------------------
自定义菜单,弄个click类型的,微信会发送用户微信号给你,你接受到微信号后返回的链接加上用户微信号到参数部分,这样你就可以得到此用户微信号了
至于后续的操作自己实现了
------解决思路----------------------
asp WAP获取手机终端信息的一段代码
<%
Dim Ip,number,mobiletype,loca,uri
Dim Conn,Sql,Rs
Ip=Request.ServerVariables("REMOTE_ADDR")
uri=Request.ServerVariables("PATH_INFO")
number1=Request.ServerVariables ( "HTTP_x-up-calling-line-id" )
mobile1=Request.ServerVariables ( "HTTP_User-Agent" )
number = Right(number1,Len(number1)-2)
mobile2 = Split(mobile1,"/")
mobiletype=mobile2(0)
loca=Request.Cookies( "CUI" )
Sql="Select * From Visitor order By Id DESC"
Rs.Open Sql,Conn,1,3
Rs.Addnew
Rs("SDate")=date
Rs("STime")=time
Rs("IP")=Ip
Rs("UserNo")=number
Rs("MobileType")=mobiletype
Rs("CUI")=loca
Rs("URI")=uri
Rs.Update
Rs.Close
Conn.Close
Set Rs=Nothing
Set Conn=Nothing
%>
我在做个微网站。我的公众号是订阅号,我想发个链接给用户,用户通过链接进入我的微网站后,我如何获取用户的标识,以便用户下次来访不用再登录,而我就能知道用户的信息?如何实现 求代码
------解决思路----------------------
自定义菜单,弄个click类型的,微信会发送用户微信号给你,你接受到微信号后返回的链接加上用户微信号到参数部分,这样你就可以得到此用户微信号了
至于后续的操作自己实现了
------解决思路----------------------
asp WAP获取手机终端信息的一段代码
<%
Dim Ip,number,mobiletype,loca,uri
Dim Conn,Sql,Rs
Ip=Request.ServerVariables("REMOTE_ADDR")
uri=Request.ServerVariables("PATH_INFO")
number1=Request.ServerVariables ( "HTTP_x-up-calling-line-id" )
mobile1=Request.ServerVariables ( "HTTP_User-Agent" )
number = Right(number1,Len(number1)-2)
mobile2 = Split(mobile1,"/")
mobiletype=mobile2(0)
loca=Request.Cookies( "CUI" )
Sql="Select * From Visitor order By Id DESC"
Rs.Open Sql,Conn,1,3
Rs.Addnew
Rs("SDate")=date
Rs("STime")=time
Rs("IP")=Ip
Rs("UserNo")=number
Rs("MobileType")=mobiletype
Rs("CUI")=loca
Rs("URI")=uri
Rs.Update
Rs.Close
Conn.Close
Set Rs=Nothing
Set Conn=Nothing
%>