You need to use pound signs in the object attribute in order to pass it the actual object rather than the name of the object... so the tag should look like
<cf_objectdump object="#session#"> This will output your entire session structure and give you sort of a snapshot or a map of what your session looks like at any given moment. Isaac Dealey Certified Advanced ColdFusion 5 Developer www.turnkey.to 954-776-0046 > Ok, I got downloaded cf_objectdump. I have never used it before. I called > it > passing it an attribute Object="session.varname" and then did a cfabort > before the cflocation. > Is this correct. The cf_objectdump seems to have just output the text > "session.varname" but nothing else about the object. What is this telling > me? > ----- Original Message ----- > From: "S. Isaac Dealey" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Thursday, September 12, 2002 12:21 PM > Subject: Re: Session variables are deleted after a CFLocation? >> hmmm... okay... so if there are no other includes on the action page... >> just to get a picture of what's going on, use <cfdump> ( or if prior to > cf5 >> cf_objectdump -- check the devex on macromedia for this ) to output your >> session structure prior to the cflocation ( after setting the variables ) >> and abort the page. Make sure everything is good there, then do the same >> thing before the cfparam on the following page after the cflocation. Look >> for any differences between these 2 pictures -- not necessarily just the >> var(s) you're concerned with at the moment. See how far that gets you... >> >> >> Isaac Dealey >> Certified Advanced ColdFusion 5 Developer >> >> www.turnkey.to >> 954-776-0046 >> >> > The cflocation redirects to and index.cfm which does have includes the >> > apps_local which in turn includes the apps_global where the cfparam is >> > resetting the session variable to the default. >> >> > ----- Original Message ----- >> > From: "S. Isaac Dealey" <[EMAIL PROTECTED]> >> > To: <[EMAIL PROTECTED]> >> > Sent: Thursday, September 12, 2002 11:16 AM >> > Subject: Re: Session variables are deleted after a CFLocation? >> >> >> >> hmmm... Something like this is probably in the archives... I seem to >> >> remember a long discussion similar to this... >> >> >> >> The cf server identifies the client using a cookie which contains the >> >> cfid >> >> and cftoken values ... From that point, the server associates session >> >> variables with these values in resident memory on the server. If >> >> you're >> >> losing all your session variables, then you can bet there's a problem >> >> with >> >> the cookie disappearing or being reset, etc... If you're only losing a >> > given >> >> variable(s) then there's got to be something else going on, and my > first >> >> guess would be an include file... Are you using <cfabort> after your >> >> <cflocation> tag? Do you include any additional files at the top of >> >> the >> > page >> >> the user is being redirected to? >> >> >> >> >> >> Isaac Dealey >> >> Certified Advanced ColdFusion 5 Developer >> >> >> >> www.turnkey.to >> >> 954-776-0046 >> >> >> >> > Hi All, >> >> >> >> > I was wondering if someone could shed some light on a problem I am >> > having. >> >> > I am using CF 4.5 and the application is not allowed to use any >> > scripting. >> >> > It is has a Fusebox 2.0 architecture. >> >> >> >> > My apps_global has a cfparam statement for a session variable. This >> >> > gets >> >> > set to a default when the application is initiated. Subsequently, > this >> >> > session variable gets modified to another value. However, when I do >> >> > a >> >> > cflocation in one of my action pages, this session variable is now >> >> > gone, >> >> > thus causing the cfparam in the app_global to recreate it with the >> > default >> >> > value. This means that I have now lost second value that I need. I >> >> > would >> >> > have imagined that the session variable would still exist in the cf >> > server >> >> > and that the cfparam would not do anything, cflocation or no >> >> > cflocation. >> >> > Why is the session variable disappearing? >> >> >> >> > Thanks ------------------------------------------------------------------------- This email server is running an evaluation copy of the MailShield anti- spam software. Please contact your email administrator if you have any questions about this message. MailShield product info: www.mailshield.com ----------------------------------------------- To post, send email to [EMAIL PROTECTED] To subscribe / unsubscribe: http://www.dfwcfug.org
