Might be that you are storing the session in the cookie rather than on
the server.

AOL might be picky about what gets stored in a cookie.

MD

On 01/02/06, Andy Matthews <[EMAIL PROTECTED]> wrote:
> Okay...
>
> I've got a login system using session variables to keep a user logged in
> (all code at the bottom). The user logs in and I set some session variables,
> name, id, etc. At the top of each page is some code which check if they're
> logged in. My client is having issues with this and I believe that I've
> tracked it down to his use of AOL. He can login just fine, but when he tries
> to access another page that checks his status, he gets logged out.
>
> I wonder if
> a) Anyone else has experienced this issue
> b) What you're doing/have done about it
>
> I'd hate to rewrite the login system to account for AOL, but I'm also
> worried that other users of the site might encounter this issue. So I'd love
> to either see the login method of anyone else OR get some tips from any of
> you on how I can fix what I've got currently.
>
> Here's the code:
>
> Application.cfm file
> ------------------------------
> <cfapplication name="#Appname#" sessionmanagement="Yes"
> setclientcookies="Yes" sessiontimeout="#createtimespan(1,0,0,0)#"
> clientmanagement="yes" clientstorage="cookie">
>
>
> Validate.cfm
> ---------------------
> <!--- upon successful retrieval of their user/pass --->
> <cfset SESSION.loggedin = 1>
> <cfset SESSION.userid = getuserlogin.user_id>
>
>
> Header.cfm (included on every page)
> -------------------------
> <cfset approvedpages = "index.cfm,register.cfm,search.cfm,viewitem.cfm">
>
> <cfif NOT ListFind(approvedpages,thispage)>
>        <cfif NOT SESSION.loggedin>
>                <cflocation url="noaccess.cfm" addToken="no">
>        </cfif>
> </cfif>
>
> The approvedpages list variable contains a list of the pages which
> unloggedin users can access.
>
>
> <!----------------//------
> andy matthews
> web developer
> ICGLink, Inc.
> [EMAIL PROTECTED]
> 615.370.1530 x737
> --------------//--------->
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:230974
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to