dongxun1142 2015-11-28 19:06
浏览 318

Steam OpenID记住我/保持登录状态

I'm making a web app that allows users to login using their Steam account. Here's what I'm using to enable Steam login on the site: https://github.com/SmItH197/SteamAuthentication.

So far it works great. You're able to login with Steam, but I'd like my site to be able to keep them logged in when they come back to the site. I have looked around a little bit for this but so far I haven't found anything too helpful, or that I would know how to do.

Any ideas? Thanks.

  • 写回答

1条回答 默认 最新

  • duanba3707 2015-11-28 19:13
    关注

    The script you linked use sessions to keep the user logged. Since the sessions ends when the user close the browser, if you want to implement a "remember me" feature you have to modify that script to use something different than sessions (ie: cookies)

    评论

报告相同问题?

悬赏问题

  • ¥15 电脑桌面设定一个区域禁止鼠标操作
  • ¥15 求NPF226060磁芯的详细资料
  • ¥15 使用R语言marginaleffects包进行边际效应图绘制
  • ¥20 usb设备兼容性问题
  • ¥15 错误(10048): “调用exui内部功能”库命令的参数“参数4”不能接受空数据。怎么解决啊
  • ¥15 安装svn网络有问题怎么办
  • ¥15 Python爬取指定微博话题下的内容,保存为txt
  • ¥15 vue2登录调用后端接口如何实现
  • ¥65 永磁型步进电机PID算法
  • ¥15 sqlite 附加(attach database)加密数据库时,返回26是什么原因呢?