|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
VeriSign Code Signing Digital Certificates provides assurance to end users. Read about this and more in the free white paper: “How to Digitally Sign Downloadable Code for Secure Content Transfer.” Learn More! |
|
#1
|
|||
|
|||
|
Hi ColdFusionites,
I had a bad hair day with a session realted problem. My CF app is working without a hitch in my local server. But the moment I uploaded to the remote server, wierd things started happening. One of errors I am getting for no apparent fault of mine is: CFID, CFTOKEN contains invalid characters. The error occured in d:\abc\xyz\mysite\Application.cfm: line 1 1 : <cfapplication name="carsite" sessionManagement="Yes"> I dont really know why it is happening. Do you have any idea? |
|
#2
|
|||
|
|||
|
I've never seen this before. If you do a cfdump of the session scope, do you see any invalid characters in your ID or token? Or look in your cookie file on your local drive and see if there is anything strange in the id or token...
|
|
#3
|
|||
|
|||
|
Invalid Cftoken
Try this before cfapplication. Also add a second copy of your cfapplication line. I know this sounds stupid but it mostly fixes this annoying problem.
<cfif isdefined("cookie.cftoken")> <cfif len(cookie.cftoken) GT 8> <cfcookie name="cftoken" value="" expires=now> </cfif> </cfif> |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ColdFusion Development > CFID CFTOKEN Problem |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|