Link to home
Start Free TrialLog in
Avatar of ecpeel
ecpeel

asked on

client variables lost

after setting a client variable and passing it to a  form page, it vanishes on the following page as if non existent.

all client.vars are declared with cfparam in the application and set after being extracted from the result set after finding the login name.

There's no sign of any data in my client storage database either.
Avatar of ecpeel
ecpeel

ASKER

What's weird is that if I output the client variable list on the page,
I can see the names of the variables.
I just can't use them, output them or anything
can you show the code you are using

1) where you set them
2) where you try outputting them

cheers.
Avatar of ecpeel

ASKER

k, before I post the code: I decided to test this locally instead of on the development server.

All client Vars work locally, but cease on the remote development server.

The issue must be on that CF server.

ever seen this? perhaps the timeout is immediate.

Thanks jimmy.
check in the CF administrator on the remote server under client variables. You might find out from there whats going on.

Cheers.
Avatar of ecpeel

ASKER

In that area right now, having the server rebooted.

That machine also tends to "forget" the admin password. I am thinking the problem is related.
Setting a default database for client variables works because? you have to specify the name of the
database in the app.cfm/cfc, so why would it default to a database when it's known that not specifying will store in the registry?

just a thought.
Avatar of ecpeel

ASKER

Ok,
so I see where you can now specify where the default is, my bad.

Rebooting didn't help though, it's still swallowing the client vars
hmmm thats weird...do you see anything in the CF logs?
Avatar of ecpeel

ASKER

I notice that the server that's not holding the vars, certain cookie variables aren't there.

on the working machine vars:
CFADMIN_LASTPAGE=/cfide/administrator/datasources/index.cfm
CFAUTHORIZATION_cfadmin=
CFID=
CFTOKEN=
Compaq-HMMD=
JSESSIONID

on the non working machine only the
cfid and cftoken cookie variables appear.

I'm not passing them by code on the working server, must I on the remote or is something turned off in the cfadmin
that i'm not considering?
Avatar of ecpeel

ASKER

Hee,
I try to view the logs beyond the first page and the server returns errors about a site Filter being undefined

not that I needed one, but I tried to define that and some similar error happens.
ASKER CERTIFIED SOLUTION
Avatar of jimmy282
jimmy282
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ecpeel

ASKER

Jimmy,
that's just what I told my boss just now.
I showed him the error and gave me the obligatory WOW...

thanks for your help

Earl
Cool, glad I could help. Let me know if re-install doesnt help.