Commit Graph

60 Commits

Author SHA1 Message Date
holtyuzhuyanbo 38a144c68f fix: session destory 2019-11-19 21:25:30 +08:00
Chance f03a7d1128
add GetProvider 2018-12-13 15:37:19 +08:00
astaxie 1a66ad56c6
Merge pull request #3317 from HSoshiant/master
Lock
2018-11-14 19:24:23 +08:00
astaxie 31f2adb79d
Update session.go 2018-11-14 19:24:10 +08:00
astaxie f514ae309b
Update session.go 2018-11-14 19:23:10 +08:00
SongLiang c8da875f83
add sessionId prefix 2018-11-05 09:51:27 +08:00
SongLiang 501d8a97f6
add sessionId prefix 2018-11-05 09:50:19 +08:00
SongLiang d3ad810f16
add sessionId prefix 2018-10-29 13:35:31 +08:00
SongLiang abc8b78065
add sessionId prefix 2018-10-29 12:18:06 +08:00
SongLiangChen 187add9b84 add sessionid prefix 2018-10-10 11:02:45 +08:00
Hossein Karimy 1097ac3682 GetProvider 2018-08-28 15:12:28 -04:00
astaxie a91e2e9950 add golint check and fix all golints 2017-04-30 22:41:23 +08:00
Miroslav Genov a74ebaa1eb beego/session: return proper error when session is not found
Parent errs was returned instead of err which is returned from the last
statement.
2016-11-13 10:01:29 +02:00
GrimTheReaper 3c05eafbc4 HTTP Only Configurable 2016-10-10 09:50:34 -05:00
maxin ef0d3d80dc set session.managerconfig public 2016-08-13 21:07:27 +08:00
ysqi 245664010c Go Vet 2016-04-27 22:18:22 +08:00
yuyongsheng 5aa085bf41 1. remove the invalid comments.
2. allow the user to config "Enable" store/get sessionId into/from http header
3. allow the user to config "Enable" get sessionId from Url query
4. when enable sessionId in http header, check the sessionName format as CanonicalMIMRHeaderKey, then panic if not.
2016-04-21 09:57:44 +08:00
youngsterxyf 56860d1fea not just export a variable 2016-03-25 10:48:59 +08:00
youngsterxyf 3300db832b in `session` package, add a helpful variable `SLogger` to help subpackage logging information 2016-03-24 22:43:57 +08:00
iexploree a144f117a3 remove comment 2016-03-01 13:39:36 +08:00
iexploree 477de9a3f3 fix bug: session id undecoded when destroy and sesssion memory provider push wrong 2016-03-01 10:51:47 +08:00
astaxie 391f897eb1 simplify sessionID 2016-01-11 16:49:56 +08:00
ysqi 80912b6210 change get sessionID logic from cookie 2016-01-07 13:15:40 +08:00
astaxie ac3a447479 fix the session update issues 2015-12-27 14:09:20 +08:00
Yandong Yao da39082d4f Retrieve session identifier from cookie and query parameters 2015-12-22 10:30:44 +08:00
astaxie 172894efe8 golint session 2015-09-12 22:53:55 +08:00
astaxie db06e954b5 fix the session memcache bug 2015-05-28 12:04:19 +08:00
astaxie 9fd7acf663 fix #1152 2015-05-25 09:10:37 +08:00
Yongzheng Lai 322b208566 Update session.go
remove = in if statement
2015-05-25 09:10:35 +08:00
Yongzheng Lai fd610d6777 Update session.go
move expire in line 154 to 247, because it will cause session_cookie not writen to explorer
2015-05-25 09:10:35 +08:00
astaxie 1148359570 session cookie support IE 2015-05-25 09:10:35 +08:00
astaxie fc6b9ce009 fix #620 simple the sessionID generate 2014-11-04 19:04:26 +08:00
astaxie a144769515 update the documents & comments 2014-08-18 16:41:43 +08:00
astaxie d7a5281bda session: support cookie domain 2014-08-04 16:21:06 +08:00
astaxie fefd8ddb5b beego: update licence& fix #669 2014-07-03 23:40:21 +08:00
astaxie 0f170a80da update the comments fix #658 2014-06-25 10:39:37 +08:00
astaxie d2eece9a39 session: #620 make the session never read empty 2014-05-27 15:45:35 +08:00
astaxie c188cbbcb4 update all files License 2014-05-17 02:26:50 +08:00
asta.xie 443aaadcce fix #533 change the function name 2014-03-21 14:24:00 +08:00
asta.xie b405e19f56 delete MaxAge cookielifeTime replace 2014-03-12 15:56:04 +08:00
傅小黑 0e2872324f add comments for session packages, part 1 2014-01-29 01:05:56 +08:00
astaxie e34f8c4634 add cookie test 2014-01-08 23:24:31 +08:00
astaxie aa2fef0d36 update sessionRelease
1. mysql fix last access time not update
2. mysql & redid Release when data is empty
3. add maxlifetime distinct Gclifetime
2014-01-08 20:54:20 +08:00
astaxie 481448fa90 modify session module
change a log
2014-01-05 14:48:36 +08:00
astaxie c8f86652a3 fix #248 2013-11-05 22:23:48 +08:00
astaxie a443a798e3 fix #254 2013-11-05 21:59:35 +08:00
astaxie d835b0c80f fix #235 2013-11-02 00:16:10 +08:00
astaxie 0ddde6fa9f fix #252 2013-10-29 22:03:43 +08:00
astaxie 9fc4cd8958 #238 add GetProvider 2013-10-28 23:25:30 +08:00
astaxie 742c432fd1 fix #252 2013-10-28 23:09:45 +08:00