RE: Auto appending of CFID and CFTOKEN in application.cfm

2004-12-15 Thread Stephen Cassady
Dh!
Last night as I was about to fall asleep I realized I was off my rocker, but
in a different way.

Your problem with XPSP2 has nothing at all to do with ColdFusion, though the
appending may work. 

The issue is related to not having two things: A properly formatted set of
P3P privacy statements in your directory structure, and (2) not having
adjusted your web-server's headers to include the P3P privacy statement.

If you meet both of those requirements, your clients won't keep rejecting
the cookies - I'm pretty sure that the cookies are being rejected because of
failed properly written P3P statement, or missing files/header.

Could that be it?
That would also save a lot of rewriting work on the code.

Any feedback on if this is right (or wrong!) would be appreciated.

Stephen Cassady
[EMAIL PROTECTED] 

Sure it's cold in Canada, ColdFusion cold!




~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

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


Auto appending of CFID and CFTOKEN in application.cfm

2004-12-12 Thread J M
Hi,
I am retooling a large CF site and need to append the CFID and CFTOKEN to each 
request as XPSP2 has locked out a lot of users who aren't allowing cookies.

There are too many pages to start digging through the links and forms to add 
the URLTOKEN (unless I really need to). Is it not possible to add some code to 
application.cfm to automatically do this? I tried with no success and received 
an invalid characters in the CFID or CFTOKEN message.

Any info appreciated.

JW 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


Re: Auto appending of CFID and CFTOKEN in application.cfm

2004-12-12 Thread Stephen Cassady
I might be off my rocker - but are you implying that you are using cookie as 
the Default Storage Mechanism for Client Sessions? Could I suggest instead that 
you run all your client session requirements to a database instead?

I know that to create Search Engine Friendly URLs ( http://www.peoplefield.org 
and http://www.spankmag.com ) all my href links are actually a custom function 
I wrote so I can automatically append (and pre-append) items to a link (in this 
case adding the /p.htm to everything at the end, and a parsed vaiable to map to 
the correct directory structure, yes I know, not Fusebox sturcture :-) ). But I 
don't think you want to rewirite all your links in the code.

Can you expalain your problems more though about XPSP2? I've not had that 
problem (I think) and if I am, I would like to know more about what you are 
experiencing.

Stephen
http://www.Lopedia.com 
Canada is cold, so ColdFusion is natural to us!


 Hi,
 I am retooling a large CF site and need to append the CFID and CFTOKEN 
 to each request as XPSP2 has locked out a lot of users who aren't 
 allowing cookies.
 
 There are too many pages to start digging through the links and forms 
 to add the URLTOKEN (unless I really need to). Is it not possible to 
 add some code to application.cfm to automatically do this? I tried 
 with no success and received an invalid characters in the CFID or 
 CFTOKEN message.
 
 Any info appreciated.
 
 JW 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


Re: Auto appending of CFID and CFTOKEN in application.cfm

2004-12-12 Thread J M
I'm sure you're rocker is fine.

I am using non-persistant session cookies for session management, not 
persistant cookies.

A few members installed XPSP2 and it apparently disables all cookies, 
persistant ant not, so that can login but the session cookie fails to be set, 
and they get punted back to the login. Some members had no problem setting the 
browser accordingly, but others would find it easier to build a roller-coaster. 
So, I just need an easy way (short of rewriting all my links/forms) to append 
the CFID and CFTOKEN.

JW

 I might be off my rocker - but are you implying that you are using 
 cookie as the Default Storage Mechanism for Client Sessions? Could I 
 suggest instead that you run all your client session requirements to a 
 database instead?
 
 I know that to create Search Engine Friendly URLs ( http://www.
 peoplefield.org and http://www.spankmag.com ) all my href links are 
 actually a custom function I wrote so I can automatically append (and 
 pre-append) items to a link (in this case adding the /p.htm to 
 everything at the end, and a parsed vaiable to map to the correct 
 directory structure, yes I know, not Fusebox sturcture :-) ). But I 
 don't think you want to rewirite all your links in the code.
 
 Can you expalain your problems more though about XPSP2? I've not had 
 that problem (I think) and if I am, I would like to know more about 
 what you are experiencing.
 
 Stephen
 http://www.Lopedia.com 
 Canada is cold, so ColdFusion is natural to us!
 
 
  Hi,
  I am retooling a large CF site and need to append the CFID and 
 CFTOKEN 
  to each request as XPSP2 has locked out a lot of users who aren't 
  allowing cookies.
  
  There are too many pages to start digging through the links and 
 forms 
  to add the URLTOKEN (unless I really need to). Is it not possible to 
 
  add some code to application.cfm to automatically do this? I tried 
  with no success and received an invalid characters in the CFID or 
  CFTOKEN message.
  
  Any info appreciated.
  
  JW 

~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

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


Re: Auto appending of CFID and CFTOKEN in application.cfm

2004-12-12 Thread Mary Jo Sminkey
 I am using non-persistant session cookies for session management, not 
 persistant cookies.

Actually, in terms of the issue you are having, it wouldn't really matter. Even 
if you use client variables in the database, Cold Fusion still uses the CFID 
and CFTOKEN to identify the client. So they either need cookies on or you need 
to pass it over the variable.


 A few members installed XPSP2 and it apparently disables all cookies, 
 persistant ant not, so that can login but the session cookie fails to 
 be set, and they get punted back to the login. Some members had no 
 problem setting the browser accordingly, but others would find it 
 easier to build a roller-coaster. So, I just need an easy way (short 
 of rewriting all my links/forms) to append the CFID and CFTOKEN.

Well, afraid I don't know any way to do this through the application. I always 
build that kind of function into the application, because I've had lots of 
issues with various browsers or users having problems with losing sessions even 
with cookies turned on. What I do is set a variable in the application either 
blank or with the session token and then use that variable on all the links. 
Yeah, it's a bit of a pain to do, but becomes habit after awhile. You can find 
the links in your site fairly easily with a regular expresssion search, which 
will at least save you a bit of time. 

Interestingly enough, I had installed SP2 and then had to take it off for other 
issues. But recently I've been having major issues with my application losing 
the session whenever a new window is opened (or a JS location script runs). 
Only happens in IE and enabling all cookies does not seem to help. It's really 
driving me nuts! 

Mary Jo

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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