由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
StartUp版 - 讨论一下怎么处理以登陆的用户
相关主题
网站sensitive data保存问题请教大家都是用什么软件做project management的呢?
小公司需要back up system么?[非传销]Information Session on Startup Contest
Google现在非常evil了~~~~~ 讨论一下卖画的渠道吧~~~~~ (转载)
startup公司寻找partner和一些资金想找人做个最简单的六合彩网站,php+sql
买了个小网站,大家看看怎么样?有没有想做 Linux 相关的讨论一下
波士顿科技创业"速配"聚会各位觉的我的网站该如何改进?
波士顿科技创业"速配"聚会 (转载)进来讨论一下回国做call center的可能性吧
Windows Hosting Service求推荐讨论一下,节能型LED灯泡前景广阔,应该怎么做,适合做自己的品牌么?
相关话题的讨论汇总
话题: session话题: db话题: server话题: storing话题: 登陆
进入StartUp版参与讨论
1 (共1页)
a***i
发帖数: 39
1
用一个db table去maintain以登陆用户的session,有什么好处和坏处?
g********g
发帖数: 2172
2
For a large site with multiple server, session stored in db can be access
from multiple servers. So there will be no issue is this page comes from
server 1 next page comes from server 2. But it is expensive.

【在 a***i 的大作中提到】
: 用一个db table去maintain以登陆用户的session,有什么好处和坏处?
a***i
发帖数: 39
3
thanks, i think that's a very important advantage. How can this be handled w
/o a db storing sessions? Store the encrypted session info in user cookie?

【在 g********g 的大作中提到】
: For a large site with multiple server, session stored in db can be access
: from multiple servers. So there will be no issue is this page comes from
: server 1 next page comes from server 2. But it is expensive.

g********g
发帖数: 2172
4
without db, it is either in memory or file system. The web/application
server will handle the session storing. All you need is add and retrieve
value into and out of session. You do not need to worry about how to store.

w

【在 a***i 的大作中提到】
: thanks, i think that's a very important advantage. How can this be handled w
: /o a db storing sessions? Store the encrypted session info in user cookie?

1 (共1页)
进入StartUp版参与讨论
相关主题
讨论一下,节能型LED灯泡前景广阔,应该怎么做,适合做自己的品牌么?买了个小网站,大家看看怎么样?
大家讨论一下开立海外公司的好处吧?波士顿科技创业"速配"聚会
什么时候开始要签保密协议?波士顿科技创业"速配"聚会 (转载)
还是公司如何交税的问题,大家继续讨论一下吧Windows Hosting Service求推荐
网站sensitive data保存问题请教大家都是用什么软件做project management的呢?
小公司需要back up system么?[非传销]Information Session on Startup Contest
Google现在非常evil了~~~~~ 讨论一下卖画的渠道吧~~~~~ (转载)
startup公司寻找partner和一些资金想找人做个最简单的六合彩网站,php+sql
相关话题的讨论汇总
话题: session话题: db话题: server话题: storing话题: 登陆