1
0
mirror of https://github.com/astaxie/beego.git synced 2025-07-09 19:50:18 +00:00
Commit Graph

62 Commits

Author SHA1 Message Date
2781f88173 Expose error from SessionRegenerateID 2020-11-25 21:13:04 +08:00
26208a53e6 session: adds CookieSameSite to ManagerConfig 2020-09-15 18:05:33 -03:00
38a144c68f fix: session destory 2019-11-19 21:25:30 +08:00
f03a7d1128 add GetProvider 2018-12-13 15:37:19 +08:00
1a66ad56c6 Merge pull request #3317 from HSoshiant/master
Lock
2018-11-14 19:24:23 +08:00
31f2adb79d Update session.go 2018-11-14 19:24:10 +08:00
f514ae309b Update session.go 2018-11-14 19:23:10 +08:00
c8da875f83 add sessionId prefix 2018-11-05 09:51:27 +08:00
501d8a97f6 add sessionId prefix 2018-11-05 09:50:19 +08:00
d3ad810f16 add sessionId prefix 2018-10-29 13:35:31 +08:00
abc8b78065 add sessionId prefix 2018-10-29 12:18:06 +08:00
187add9b84 add sessionid prefix 2018-10-10 11:02:45 +08:00
1097ac3682 GetProvider 2018-08-28 15:12:28 -04:00
a91e2e9950 add golint check and fix all golints 2017-04-30 22:41:23 +08:00
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
3c05eafbc4 HTTP Only Configurable 2016-10-10 09:50:34 -05:00
ef0d3d80dc set session.managerconfig public 2016-08-13 21:07:27 +08:00
245664010c Go Vet 2016-04-27 22:18:22 +08:00
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
56860d1fea not just export a variable 2016-03-25 10:48:59 +08:00
3300db832b in session package, add a helpful variable SLogger to help subpackage logging information 2016-03-24 22:43:57 +08:00
a144f117a3 remove comment 2016-03-01 13:39:36 +08:00
477de9a3f3 fix bug: session id undecoded when destroy and sesssion memory provider push wrong 2016-03-01 10:51:47 +08:00
391f897eb1 simplify sessionID 2016-01-11 16:49:56 +08:00
80912b6210 change get sessionID logic from cookie 2016-01-07 13:15:40 +08:00
ac3a447479 fix the session update issues 2015-12-27 14:09:20 +08:00
da39082d4f Retrieve session identifier from cookie and query parameters 2015-12-22 10:30:44 +08:00
172894efe8 golint session 2015-09-12 22:53:55 +08:00
db06e954b5 fix the session memcache bug 2015-05-28 12:04:19 +08:00
9fd7acf663 fix #1152 2015-05-25 09:10:37 +08:00
322b208566 Update session.go
remove = in if statement
2015-05-25 09:10:35 +08:00
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
1148359570 session cookie support IE 2015-05-25 09:10:35 +08:00
fc6b9ce009 fix #620 simple the sessionID generate 2014-11-04 19:04:26 +08:00
a144769515 update the documents & comments 2014-08-18 16:41:43 +08:00
d7a5281bda session: support cookie domain 2014-08-04 16:21:06 +08:00
fefd8ddb5b beego: update licence& fix #669 2014-07-03 23:40:21 +08:00
0f170a80da update the comments fix #658 2014-06-25 10:39:37 +08:00
d2eece9a39 session: #620 make the session never read empty 2014-05-27 15:45:35 +08:00
c188cbbcb4 update all files License 2014-05-17 02:26:50 +08:00
443aaadcce fix #533 change the function name 2014-03-21 14:24:00 +08:00
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
e34f8c4634 add cookie test 2014-01-08 23:24:31 +08:00
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
481448fa90 modify session module
change a log
2014-01-05 14:48:36 +08:00
c8f86652a3 fix #248 2013-11-05 22:23:48 +08:00
a443a798e3 fix #254 2013-11-05 21:59:35 +08:00
d835b0c80f fix #235 2013-11-02 00:16:10 +08:00
0ddde6fa9f fix #252 2013-10-29 22:03:43 +08:00