Try adding

clientmanagement="Yes"

And possibly the following deleteing as applicable

clientstorage="cookie/dsn/registry"

-----Original Message-----
From: Mike Kear [mailto:[EMAIL PROTECTED] 
Sent: 01 September 2003 15:21
To: CF-Talk
Subject: Session vars not being retained. Any ideas why?


My site is forgetting the session variables between pages, and I'm not
sure
why.   It retains the login info when I use the CFID/CFTOKEN in the URL,
but
if not, the new page comes up and I'm logged out again.  (sigh!)

So far, I've explored the possibility that I've got the <cfapplication
tag wrong (I've pasted it below for you to see) or that my browser has
cookies turned off (it doesn't). I've checked that the logout routine
isn't getting <cfincluded accidentally.  

I'm definitely getting logged in from the login routine, because on the
action page following the login form, I've put a <cfdump that displays
the session scope, and the login info is shown there.  But when I go to
any other page on the site, the session scope doesn't include the login
info.

Is there anywhere else I ought to look? 

Here's my <cfapplication tag, which is in the topmost Application.cfm on
the
site:


<Cfapplication name="infomanagement" 
        sessionmanagement="yes" 
        sessiontimeout="#createTimeSpan(0,0,20,0)#" 
        setclientcookies="yes" 
        setdomaincookies="yes" >



(We're using CFMX6.0 on a Win2000 SP3 system.)


Cheers,
Michael Kear
Windsor, NSW, Australia
AFP Webworks.






~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Get the mailserver that powers this list at 
http://www.coolfusion.com

Reply via email to