Thanks Mike.

Whilst using client variables I have had lots of users saying they can't use IE 
to login, only Firefox.  So now I'm trying to use Session instead which i've 
just now played around with (allowing both client and session in my 
cfapplication).

Just tested it now and it all seems ok. :)

However I have noticed a problem which also dogged me while using client.  It's 
when a user for instance is on a page and they click on the logout button.  The 
logout more or less is:

<cfelseif isDefined('url.logout')>

<!--- set to logged out --->
<cflock scope="session" type="exclusive" timeout="30">
<cfset session.IsLoggedIn = 'N'>
</cflock>

<!--- send them back to the referring page--->
<cflocation url="#session.refpage020#" addtoken="no">

Well, when they go back to the referring page for some reason the page displays 
like they are really still logged in.  But they aren't really logged in as any 
link they click on will react like they are logged out (ie showing form for 
logging in).

It's weird because i'm clearly logging them out before using cflocation.

Thanks,

Saturday

----------------------------------------
From: "Dawson, Michael" <[EMAIL PROTECTED]>
Sent: Friday, December 16, 2005 10:45 AM
To: CF-Talk <[email protected]>
Subject: RE: Running SESSION & CLIENT together 

I know of no reason why you can't use both client and session variables at the 
same time.

First, why do you have two CFAPPLICATION tags? You can use both client and 
session variables in the same application. You don't need to switch 
applications.

Second, what doesn't work?

M!ke

-----Original Message-----
From: Stuart Kidd [mailto:[EMAIL PROTECTED] 
Sent: Friday, December 16, 2005 9:12 AM
To: CF-Talk
Subject: Running SESSION & CLIENT together

Hi guys,

Is it possible to run client and session variables together?

I have been running client variables for a while but now am about to start 
using session.  Instead of changing all my client variables to session in one 
shot i'd like to make a gradual move but i noticed the following lines in my 
Application.cfm don't work together.

Should I be doing it a different way?

Thanks,

Saturday



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227162
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