Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

iPhone looses session info

Posted on 2010-11-25
5
Medium Priority
?
79 Views
Last Modified: 2016-05-09
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.
0
Comment
Question by:MFredin
5 Comments
 
LVL 19

Expert Comment

by:Bhavesh Shah
ID: 34221582
Hi,

when you said, works great fore my users means its working in client machine.

did you tried with other phone??

I dont think there should be any problem !!!
0
 
LVL 36

Accepted Solution

by:
SidFishes earned 2000 total points
ID: 34232663
could be the iPhone is set not to accept cookies in Settings > Safari

One way around this


"ColdFusion provides the URLSessionFormat function, which does the following:

    * If the client does not accept cookies, automatically appends all required client identification information to a URL.
    * If the client accepts cookies, does not append the information.
"

http://livedocs.adobe.com/coldfusion/8/htmldocs/sharedVars_05.html

0
 

Author Comment

by:MFredin
ID: 34356560
need to contact my user to see if cookies are accepted.  will report back.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
After hours on line I found a solution which pointed to the inherited Active Directory permissions . You have to give/allow permissions to the "Exchange trusted subsystem" for the user in the Active Directory...
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…
CodeTwo Sync for iCloud (http://www.codetwo.com/sync-for-icloud?sts=6554) automatically synchronizes your Outlook 2016, 2013, 2010 or 2007 folders with iCloud folders available via iCloud Control Panel. This lets you automatically sync them with…

886 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question