Welcome Guest, Not a member yet? Register   Sign In
Auth (from wiki) db_session (from wiki) is it just because i'm local ?
#1

[eluser]sikkle[/eluser]
Hi there,

i'm trying to figure out if i'm crazy or not Smile

i run a little windowsxp wamp5 server at this time.

I install two fresh version of Ci, installed FreackAuth and Auth, with both of them, when i reload page after some time i'll get something like this, this code is from Auth, not freakauth for the moment.

Code:
QUERIES  

SELECT * FROM ci_sessions WHERE session_id = '37417e4d5b0f40942a9495664d8a4b5a' AND last_activity > 1187900811 AND ip_address = '127.0.0.1' AND user_agent = 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1;'

UPDATE ci_sessions SET last_activity = 1187908011, user_agent = 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1;', ip_address = '127.0.0.1', session_data = 'a:6:{s:7:\"user_id\";s:1:\"1\";s:9:\"user_name\";s:6:\"system\";s:5:\"users\";a:1:{i:1;s:6:\"system\";}s:8:\"security\";a:2:{s:4:\"role\";a:2:{s:7:\"role_id\";s:1:\"1\";s:4:\"role\";s:5:\"Admin\";}s:11:\"permissions\";a:1:{i:1;s:1:\"*\";}}s:23:\"flash:new:sentry_status\";b:0;s:23:\"flash:old:sentry_status\";b:0;}' WHERE session_id = '37417e4d5b0f40942a9495664d8a4b5a'

UPDATE ci_sessions SET last_activity = 1187908011, user_agent = 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1;', ip_address = '127.0.0.1', session_data = 'a:5:{s:7:\"user_id\";s:1:\"1\";s:9:\"user_name\";s:6:\"system\";s:5:\"users\";a:1:{i:1;s:6:\"system\";}s:8:\"security\";a:2:{s:4:\"role\";a:2:{s:7:\"role_id\";s:1:\"1\";s:4:\"role\";s:5:\"Admin\";}s:11:\"permissions\";a:1:{i:1;s:1:\"*\";}}s:23:\"flash:old:sentry_status\";b:0;}' WHERE session_id = '37417e4d5b0f40942a9495664d8a4b5a'

SELECT * FROM user WHERE id = '1'

UPDATE ci_sessions SET last_activity = 1187908011, user_agent = 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1;', ip_address = '127.0.0.1', session_data = 'a:5:{s:7:\"user_id\";s:1:\"1\";s:9:\"user_name\";s:6:\"system\";s:5:\"users\";a:1:{i:1;s:6:\"system\";}s:8:\"security\";a:2:{s:4:\"role\";a:2:{s:7:\"role_id\";s:1:\"1\";s:4:\"role\";s:5:\"Admin\";}s:11:\"permissions\";a:1:{i:1;s:1:\"*\";}}s:23:\"flash:old:sentry_status\";b:0;}' WHERE session_id = '37417e4d5b0f40942a9495664d8a4b5a'

UPDATE ci_sessions SET last_activity = 1187908011, user_agent = 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1;', ip_address = '127.0.0.1', session_data = 'a:5:{s:7:\"user_id\";s:1:\"1\";s:9:\"user_name\";s:6:\"system\";s:5:\"users\";a:1:{i:1;s:6:\"system\";}s:8:\"security\";a:2:{s:4:\"role\";a:2:{s:7:\"role_id\";s:1:\"1\";s:4:\"role\";s:5:\"Admin\";}s:11:\"permissions\";a:1:{i:1;s:1:\"*\";}}s:23:\"flash:old:sentry_status\";b:0;}' WHERE session_id = '37417e4d5b0f40942a9495664d8a4b5a'

For this part, maybe it's just like how Auth is build, or maybe this is because i'm local ? i'll try to get the code from FreakAuth too. next post.

thanks for your comments.
#2

[eluser]sikkle[/eluser]
Now this is with FreakAuth, maybe it's more db_session who have the responsability of this, but, does it seem ok ?

Code:
QUERIES  

SELECT * FROM ci_sessions WHERE session_id = '89ea4a4e6bc3b82c84e12bbc862695d4' AND last_activity > 1187902196

UPDATE ci_sessions SET last_activity = 1187909396, user_agent = 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1;', ip_address = '127.0.0.1', session_data = 'a:3:{s:24:\"flash:new:requested_page\";b:0;s:17:\"FreakAuth_captcha\";s:5:\"fsiht\";s:24:\"flash:old:requested_page\";b:0;}' WHERE session_id = '89ea4a4e6bc3b82c84e12bbc862695d4'

UPDATE ci_sessions SET last_activity = 1187909396, user_agent = 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1;', ip_address = '127.0.0.1', session_data = 'a:2:{s:17:\"FreakAuth_captcha\";s:5:\"fsiht\";s:24:\"flash:old:requested_page\";b:0;}' WHERE session_id = '89ea4a4e6bc3b82c84e12bbc862695d4'

UPDATE ci_sessions SET last_activity = 1187909396, user_agent = 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1;', ip_address = '127.0.0.1', session_data = 'a:3:{s:17:\"FreakAuth_captcha\";s:5:\"fsiht\";s:24:\"flash:old:requested_page\";b:0;s:24:\"flash:new:requested_page\";b:0;}' WHERE session_id = '89ea4a4e6bc3b82c84e12bbc862695d4'

UPDATE ci_sessions SET last_activity = 1187909396, user_agent = 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1;', ip_address = '127.0.0.1', session_data = 'a:2:{s:24:\"flash:old:requested_page\";b:0;s:24:\"flash:new:requested_page\";b:0;}' WHERE session_id = '89ea4a4e6bc3b82c84e12bbc862695d4'

UPDATE ci_sessions SET last_activity = 1187909396, user_agent = 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1;', ip_address = '127.0.0.1', session_data = 'a:3:{s:24:\"flash:old:requested_page\";b:0;s:24:\"flash:new:requested_page\";b:0;s:17:\"FreakAuth_captcha\";s:5:\"idigg\";}' WHERE session_id = '89ea4a4e6bc3b82c84e12bbc862695d4'

Many thanks !




Theme © iAndrew 2016 - Forum software by © MyBB