iPhone looses session info
Posted on 2010-11-25
I'm using session variables to check and see if a user is logged in or not.
When a user logs in, I use: <cfset session.user_id = X?>
Then on my pages I'll use: <cfif isdefined("session.user_id") and session.user_id neq "">User is logged in</cfif>
Works great for my users but I have a user with an iPhone that can't seem to hold the session info. Immediately after logging in, he loses the session info and is required to login again.
Anybody have any ideas why this might be happening? I'm not sure yet if its my site or his phone.