Rss & SiteMap

Foxtable(狐表) http://www.foxtable.com

新一代数据库软件,完美融合Access、Foxpro、Excel、vb.net之优势,人人都能掌握的快速软件开发工具!
共2 条记录, 每页显示 10 条, 页签: [1]
[浏览完整版]

标题:如何关闭手机浏览网页?

1楼
lanbor 发表于:2024/6/19 20:56:00
以下代码为手机网页的 Exit 退出App代码

Dim e As RequestEventArgs = args(0)
Dim wb As New weui
If e.Cookies.ContainsKey("cookKey") Then '判断当前用户ID 是否存在
    Dim w_ID01 As Integer = e.Cookies("cookKey")
    'Dim wcnt As Integer = DataTables("GxWxUser").SQLReplaceFor("dateOut", Date.Now, "[_FID]=" & Vars("w_ID01"))
End If
wb.DeleteCookie("cookXM") 
wb.DeleteCookie("cookTel")
wb.DeleteCookie("SONumber")
'不要这行wb.InsertHTML("<meta http-equiv='Refresh' c>") '那么直接跳转到登录页面
‘请教如何追加代码?
让用户点“exit"链接后,整个应用网页就直接闭关了?
e.WriteString(wb.Build) '生成网页
2楼
有点蓝 发表于:2024/6/20 8:03:00
参考:http://www.foxtable.com/bbs/dispbbs.asp?BoardID=2&ID=150676&replyID=77588&skin=1
共2 条记录, 每页显示 10 条, 页签: [1]

Copyright © 2000 - 2018 foxtable.com Tel: 4000-810-820 粤ICP备11091905号

Powered By Dvbbs Version 8.3.0
Processed in .02539 s, 2 queries.