1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-29 13:31:28 +00:00
Commit Graph

49 Commits

Author SHA1 Message Date
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
astaxie
57165f2fb5 fix #247 2013-10-28 21:44:07 +08:00
astaxie
5940fd4bbd fix build error 2013-10-21 22:08:41 +08:00
astaxie
13180c5a17 fix #249 2013-10-21 22:06:30 +08:00
astaxie
02c2e16253 Strengthens the session's function 2013-09-26 18:07:00 +08:00
astaxie
2249d745d9 session support secure set 2013-09-25 23:05:53 +08:00
astaxie
aa9cb6d052 delete session's cookie Expires 2013-06-25 23:08:47 +08:00
astaxie
bf144d5835 update session fix 2013-05-08 11:07:55 +08:00
astaxie
6d96345499 fix session Secure 2013-05-08 11:01:39 +08:00
astaxie
a95d6f39f1 fix session cookies's expirded 2013-04-08 12:50:11 +08:00
astaxie
2573696860 session
1. session move from astaxie/session to beego/session
2. support 4 type session
2013-04-05 23:50:53 +08:00