Welcome Guest, Not a member yet? Register   Sign In
get session data in other separte page


i'm creat page in the same directory i using ci . and i'am need to inserted info in the session data created with ci . tks for help me

i'm use this :

echo $_COOKIE['cisession']['useragent'];

but all time this code send : a.

not the useragent name

tks for help me

Is there any reason you aren't using the session class?

Also, does this not help you - http://ellislab.com/codeigniter/user-gui...agent.html

Sorry, I'm finding it hard to understand what you mean. I don't understand why you'd want to store the user agent in a cookie.

no because i'm work with DX_auth in members login and i'm need to check if user login or not in page out of codeigniter controller .
tks for help me

Theme © iAndrew 2016 - Forum software by © MyBB