Re: Cookie Question - Is this implementation even a good performance/technical Idea?

2008-01-20 Thread Nate Willard
james,

Thanks for the reply. My hesitation with using cf
client variables is that I'd need to enable
clientmanagement, which I currently don't have
enabled.

Wouldn't that add a lot of extra overhead for this one
feature I'd like to add?

Also, doesn't clientmanagement then append a CFID to
the URL of every links on my page? Thus breaking my
SEO?

Are there any other options to implement a efficient
feature such as this.

Thanks for your time


--- Ci James [EMAIL PROTECTED] wrote:

 I am not sure that I would place the actual cookie
 creation into the Application.cfm pages, though this
 may be a good place to check for the existence of a
 cookie it is a bad place to do your application
 logic especially if it is not needed to run for most
 of your site.
 Thus you may want to look at briefly checking the
 cookie and directing to a page that will set the
 cookie so that you can present the additional
 welcome information.
 Another good alternative is to use client variables
 (you can set the storage to be in a cookie) as long
 as you only store Simple Values in them. This gives
 you some flexibility down the road to change the
 type of storage.
 
 



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:296950
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Cookie Question - Is this implementation even a good performa nce/technical Idea?

2008-01-20 Thread Dave Watts
 Thanks for the reply. My hesitation with using cf client 
 variables is that I'd need to enable clientmanagement, which 
 I currently don't have enabled.
 
 Wouldn't that add a lot of extra overhead for this one 
 feature I'd like to add?

If you're using session management, there's no need to use client
management, unless you plan to replace session management with client
management.

 Also, doesn't clientmanagement then append a CFID to the URL 
 of every links on my page? Thus breaking my SEO?

Client and session management basically work the sane way. They rely on
cookies by default. If you choose not to use cookies, you would then have to
embed the client/session token into each link, form action and JavaScript
redirect yourself. CF doesn't do this automatically. Session tokens don't
necessarily break SEO, though.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:296957
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Cookie Question - Is this implementation even a good performance/technical Idea?

2008-01-17 Thread Nate Willard
I'd like to implement the following feature:

the first time a user visits my site, if cookie
visitedSite does not exist, the site display a div
welcoming the user etc... 

End goal, on a person first visit, they are given a
nice welcome  intro message.

on subsequent visits when the site checks for this
cookie and it exists, the welcome/intro message is not
displayed.

I'm thinking about doing this all via cookie for
performance reasons? Is this smart? should this be
something I should implement in the application.cfc
file?

I appreciate your thoughts. I'd like to make sure I
implement this feature in a smart fast way!

N


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:296772
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Cookie Question - Is this implementation even a good performance/technical Idea?

2008-01-17 Thread Ci James
I am not sure that I would place the actual cookie creation into the 
Application.cfm pages, though this may be a good place to check for the 
existence of a cookie it is a bad place to do your application logic especially 
if it is not needed to run for most of your site.
Thus you may want to look at briefly checking the cookie and directing to a 
page that will set the cookie so that you can present the additional welcome 
information.
Another good alternative is to use client variables (you can set the storage to 
be in a cookie) as long as you only store Simple Values in them. This gives you 
some flexibility down the road to change the type of storage.


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:296775
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Cookie question?

2007-01-21 Thread Doug Brown
I have a search form with a text input and I want to show the user a list of 
recent searches that they can search from. I am saving their last search via a 
cookie and what I am wondering is if I can append more than one search phrase 
to the cookie? I also only want to allow a certain amount of searches to be 
saved to the cookie say 5. Is this possible using list functions?





Doug B.

~|
Upgrade to Adobe ColdFusion MX7 
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs 
http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267087
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Cookie question?

2007-01-21 Thread Robertson-Ravo, Neil (RX)
This should be possible, but cookies do have a length restriction as far as
I can remember. You just need to read the value in, append value and write
back out, should be simple enough.









This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant,
Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business,
Registered in England, Number 678540.  It contains information which is
confidential and may also be privileged.  It is for the exclusive use of the
intended recipient(s).  If you are not the intended recipient(s) please note
that any form of distribution, copying or use of this communication or the
information in it is strictly prohibited and may be unlawful.  If you have
received this communication in error please return it to the sender or call
our switchboard on +44 (0) 20 89107910.  The opinions expressed within this
communication are not necessarily those expressed by Reed Exhibitions. 
Visit our website at http://www.reedexpo.com

-Original Message-
From: Doug Brown
To: CF-Talk
Sent: Sun Jan 21 16:49:06 2007
Subject: Cookie question?

I have a search form with a text input and I want to show the user a list of
recent searches that they can search from. I am saving their last search via
a cookie and what I am wondering is if I can append more than one search
phrase to the cookie? I also only want to allow a certain amount of searches
to be saved to the cookie say 5. Is this possible using list functions?





Doug B.



~|
Upgrade to Adobe ColdFusion MX7 
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs 
http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267088
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Cookie question?

2007-01-21 Thread Doug Brown
What about restricting the length of the list to say 5? Would this be better
using the DB instead?

Doug B.
- Original Message - 
From: Robertson-Ravo, Neil (RX) [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Sunday, January 21, 2007 9:47 AM
Subject: Re: Cookie question?


 This should be possible, but cookies do have a length restriction as far
as
 I can remember. You just need to read the value in, append value and write
 back out, should be simple enough.









 This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant,
 Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business,
 Registered in England, Number 678540.  It contains information which is
 confidential and may also be privileged.  It is for the exclusive use of
the
 intended recipient(s).  If you are not the intended recipient(s) please
note
 that any form of distribution, copying or use of this communication or the
 information in it is strictly prohibited and may be unlawful.  If you have
 received this communication in error please return it to the sender or
call
 our switchboard on +44 (0) 20 89107910.  The opinions expressed within
this
 communication are not necessarily those expressed by Reed Exhibitions.
 Visit our website at http://www.reedexpo.com

 -Original Message-
 From: Doug Brown
 To: CF-Talk
 Sent: Sun Jan 21 16:49:06 2007
 Subject: Cookie question?

 I have a search form with a text input and I want to show the user a list
of
 recent searches that they can search from. I am saving their last search
via
 a cookie and what I am wondering is if I can append more than one search
 phrase to the cookie? I also only want to allow a certain amount of
searches
 to be saved to the cookie say 5. Is this possible using list functions?





 Doug B.



 

~|
Upgrade to Adobe ColdFusion MX7 
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs 
http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267089
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


cookie question

2006-08-23 Thread Eric Roberts
I doing an add this page function on the site I am working on.  We tried to 
do this as a form submission, but for some bizarro world reason, the hidden 
field witht he URL was not getting passed.  So our next step was to set a 
cookie as a flag.  Here is what is happenbing...

You click on add this page...it invokes a javascript function that sets a 
cookie (named http_ref)with the value of yes and then submits the form.

After the form submission, CF cannot see the cookie  until you click on a link 
(any link...doesn't matter).  

After you click on the link, CF sees the cookie and runs the code to add 
thelink to the db.

Is there some reason why CF is unable to see the cookie set by javascript?  I 
know the cookie has been set...if I do an alert(document.cookie);...the cookie 
and proper value is there, but if I do an alert('#cookie.http_ref#)...it 
returns a differnt value (usually false).  CFDUMP returns [empty string].  

What am I missing here?

Eric

here is the function that is being called when you click on add this page...

function addPagetoList() {

document.cookie='http_ref=true;path=/';
alert(document.cookie);
document.add_page.submit();
return true;
}

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:250769
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


cflogin domain cookie question

2004-01-07 Thread Kazmierczak, Kevin
I have run across a problem that someone may have an easier solution for
than what I was thinking. 

Here is the problem, I am using cflogin to log a user into the admin
section of a site.Everything works fine except when the user clicks on
a page that uses ssl inside the admin section because the host is using
a shared certificate and the domain name changes to
https://www74.hostingservername.com/sitename
https://www74.hostingnservername.com/sitenamefrom
http://www.sitename.com http://www.sitename.com/ , so the app asks
them to login again because of the new domain screws up the existing
cookie.

What is the best way around this problem?

Thanks!

Kevin
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Cookie Question

2001-08-16 Thread Peter Tilbrook

Fuon,

Never rely on using cookies. ColdFusion's built-in handling of
session/client variables negates the use of cookies for most situations. You
need to setup your application to use either client or session variables and
store them in, preferably, a datasource as opposed to the registry (the
default).

Unless you are using pirated software the manuals explain this.

To depend on storing variables in the registry is not a good idea -
especially in a clustered environment.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Fuon See Tu
Sent: Thursday, 16 August 2001 4:42 AM
To: CF-Talk
Subject: Cookie Question


Do I use javascript to manipulate cookies, or can coldfusion do all of the
cookie handling and manipulation?
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Cookie Question

2001-08-15 Thread Eric J Hoffman

I use Cold Fusion for most of my cookie work.  cfcookie to the rescue!

Eric J Hoffman
Director of Internet Development
Small Dog Design, LLC
www.smalldogdesign.com


-Original Message-
From: Fuon See Tu [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 15, 2001 1:42 PM
To: CF-Talk
Subject: Cookie Question


Do I use javascript to manipulate cookies, or can coldfusion do all of the
cookie handling and manipulation?
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Cookie Question!

2000-05-16 Thread Tiffany

Okay, giving cookies a shot.

I don't really see all that much explaination in Forta's book on cookies.
Anyhow, do I need to set multiple cookies if I want to to remember
multiple variables?

Or wait.. shouldn't I just set a cookie to remember a Username and then
use session variables to get the other info from the database?  And then
if I dont want a page to be viewed without the person having a cookie
present, just check for a cookie in the begining of each page?

For instance,

After all the user/pass checking, loginaction.cfm will contain:

cfcookie name="Username" value="#Session.Username#" expires="14"
cflocation url="start.cfm"


Then in start.cfm have the following:

cfif IsDefined("cookie.Username")
   cfif cookie.Username IS 0
cflocation url="login.cfm?error=1"
   /cfif
/cfif

Would that work? Or am I doing this all wrong?  I wouldn't doubt it =)

Thanks!

*~Tiffany~*

--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



Re: Cookie Question!

2000-05-16 Thread Howie Hamlin

The best way to handle cookies is to set a unique ID with a cookie and then
store the user-specific info on the server.  This is what CF does
automagically with sessions...

Howie Hamlin
--
inFusion Project Manager; On-Line Data Solutions, Inc. (631)737-4668
www.CoolFusion.com

Please vote for iMS in the Most Innovative category here:
*** http://www.sys-con.com/ColdFusion/readerschoice2000/ ***

Check out inFusion Mail Server - the world's most configurable email server

- Original Message -
From: Tiffany [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, May 16, 2000 6:32 PM
Subject: Cookie Question!


 Okay, giving cookies a shot.

 I don't really see all that much explaination in Forta's book on cookies.
 Anyhow, do I need to set multiple cookies if I want to to remember
 multiple variables?

 Or wait.. shouldn't I just set a cookie to remember a Username and then
 use session variables to get the other info from the database?  And then
 if I dont want a page to be viewed without the person having a cookie
 present, just check for a cookie in the begining of each page?

 For instance,

 After all the user/pass checking, loginaction.cfm will contain:

 cfcookie name="Username" value="#Session.Username#" expires="14"
 cflocation url="start.cfm"


 Then in start.cfm have the following:

 cfif IsDefined("cookie.Username")
cfif cookie.Username IS 0
 cflocation url="login.cfm?error=1"
/cfif
 /cfif

 Would that work? Or am I doing this all wrong?  I wouldn't doubt it =)

 Thanks!

 *~Tiffany~*

 --

 Archives: http://www.eGroups.com/list/cf-talk
 To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



Cookie question

2000-04-26 Thread Snazzo Boy

This is a multi-part message in MIME format.

--=_NextPart_000_0003_01BFAF74.9A2D9950
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

I know there are new questions about cookies posted every day, but I'm kinda
stuck here.  Is there any way to read a CFID or CFTOKEN out of a client
cookie
and store it in a database?  Please let me know if you can help.  Thank you
for your time.

Scott Wolf
Webmaster
Road Warrior Trading.com
http://www.roadwarriortrading.com
941-587-5311

--=_NextPart_000_0003_01BFAF74.9A2D9950
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
HTMLHEAD
META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type
META content=3D"MSHTML 5.00.2314.1000" name=3DGENERATOR/HEAD
BODY
DIVFONT face=3DArial size=3D2SPAN class=3D280484115-26042000I know =
there are new=20
questions about cookies posted every day, but I'm =
kinda/SPAN/FONT/DIV
DIVFONT face=3DArial size=3D2SPAN class=3D280484115-26042000stuck =
here.nbsp; Is=20
there any way to read a CFID or CFTOKEN out of a client=20
cookie/SPAN/FONT/DIV
DIVFONT face=3DArial size=3D2SPAN class=3D280484115-26042000and =
store it in a=20
database?nbsp; Please let me know if you can help.nbsp; Thank=20
you/SPAN/FONT/DIV
DIVFONT face=3DArial size=3D2SPAN class=3D280484115-26042000for =
your=20
time./SPAN/FONT/DIV
DIVFONT face=3DArial size=3D2SPAN=20
class=3D280484115-26042000/SPAN/FONTnbsp;/DIV
DIVFONT face=3DArial size=3D2SPAN class=3D280484115-26042000Scott=20
Wolf/SPAN/FONT/DIV
DIVFONT face=3DArial size=3D2SPAN=20
class=3D280484115-26042000Webmaster/SPAN/FONT/DIV
DIVFONT face=3DArial size=3D2SPAN class=3D280484115-26042000Road =
Warrior=20
Trading.com/SPAN/FONT/DIV
DIVFONT face=3DArial size=3D2SPAN class=3D280484115-26042000A=20
href=3D"http://www.roadwarriortrading.com"http://www.roadwarriortrading.=
com/A/SPAN/FONT/DIV
DIVFONT face=3DArial size=3D2SPAN=20
class=3D280484115-26042000941-587-5311/SPAN/FONT/DIV/BODY/HTML=


--=_NextPart_000_0003_01BFAF74.9A2D9950--

--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



Re: Cookie question

2000-04-26 Thread Howie Hamlin

You can read those like any other cookie.

cfif parameterexists(cookie.cfid) and parameterexists(cookie.cftoken)
cfquery ...
...
/cfquery
/cfif

HTH,

Howie Hamlin
--
inFusion Project Manager; On-Line Data Solutions, Inc. (631)737-4668
===
Please vote for iMS in the Most Innovative category here:
*** http://www.sys-con.com/ColdFusion/readerschoice2000/ ***
===
Check out inFusion Mail Server - the world's most configurable email server
*** inFusion Authenticator for IIS is now released! (download from
CoolFusion.com) ***
http://www.teletrends.com and http://www.coolfusion.com
Software and utilities for ColdFusion, iHTML, Website, NTMail
Latest versions available from our web site (inFusion Authenticator version
2.0 for WebSite and NTMail is now released)

- Original Message -
From: Snazzo Boy [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, April 26, 2000 11:43 AM
Subject: Cookie question


 This is a multi-part message in MIME format.

 --=_NextPart_000_0003_01BFAF74.9A2D9950
 Content-Type: text/plain;
 charset="iso-8859-1"
 Content-Transfer-Encoding: 7bit

 I know there are new questions about cookies posted every day, but I'm
kinda
 stuck here.  Is there any way to read a CFID or CFTOKEN out of a client
 cookie
 and store it in a database?  Please let me know if you can help.  Thank
you
 for your time.

 Scott Wolf
 Webmaster
 Road Warrior Trading.com
 http://www.roadwarriortrading.com
 941-587-5311

 --=_NextPart_000_0003_01BFAF74.9A2D9950
 Content-Type: text/html;
 charset="iso-8859-1"
 Content-Transfer-Encoding: quoted-printable

 !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
 HTMLHEAD
 META content=3D"text/html; charset=3Diso-8859-1" =
 http-equiv=3DContent-Type
 META content=3D"MSHTML 5.00.2314.1000" name=3DGENERATOR/HEAD
 BODY
 DIVFONT face=3DArial size=3D2SPAN class=3D280484115-26042000I know =
 there are new=20
 questions about cookies posted every day, but I'm =
 kinda/SPAN/FONT/DIV
 DIVFONT face=3DArial size=3D2SPAN class=3D280484115-26042000stuck =
 here.nbsp; Is=20
 there any way to read a CFID or CFTOKEN out of a client=20
 cookie/SPAN/FONT/DIV
 DIVFONT face=3DArial size=3D2SPAN class=3D280484115-26042000and =
 store it in a=20
 database?nbsp; Please let me know if you can help.nbsp; Thank=20
 you/SPAN/FONT/DIV
 DIVFONT face=3DArial size=3D2SPAN class=3D280484115-26042000for =
 your=20
 time./SPAN/FONT/DIV
 DIVFONT face=3DArial size=3D2SPAN=20
 class=3D280484115-26042000/SPAN/FONTnbsp;/DIV
 DIVFONT face=3DArial size=3D2SPAN class=3D280484115-26042000Scott=20
 Wolf/SPAN/FONT/DIV
 DIVFONT face=3DArial size=3D2SPAN=20
 class=3D280484115-26042000Webmaster/SPAN/FONT/DIV
 DIVFONT face=3DArial size=3D2SPAN class=3D280484115-26042000Road =
 Warrior=20
 Trading.com/SPAN/FONT/DIV
 DIVFONT face=3DArial size=3D2SPAN class=3D280484115-26042000A=20
 href=3D"http://www.roadwarriortrading.com"http://www.roadwarriortrading.=
 com/A/SPAN/FONT/DIV
 DIVFONT face=3DArial size=3D2SPAN=20
 class=3D280484115-26042000941-587-5311/SPAN/FONT/DIV/BODY/HTML=


 --=_NextPart_000_0003_01BFAF74.9A2D9950--

 --

 Archives: http://www.eGroups.com/list/cf-talk
 To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: Cookie question

2000-04-26 Thread Robert Everland

You can do client management using an external database. I haven't messed
with it, but I am sure it's documented.

Robert Everland III
Web Developer
Dixon Ticonderoga


-Original Message-
From: Snazzo Boy [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 26, 2000 11:43 AM
To: [EMAIL PROTECTED]
Subject: Cookie question


This is a multi-part message in MIME format.

--=_NextPart_000_0003_01BFAF74.9A2D9950
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

I know there are new questions about cookies posted every day, but I'm kinda
stuck here.  Is there any way to read a CFID or CFTOKEN out of a client
cookie
and store it in a database?  Please let me know if you can help.  Thank you
for your time.

Scott Wolf
Webmaster
Road Warrior Trading.com
http://www.roadwarriortrading.com
941-587-5311

--=_NextPart_000_0003_01BFAF74.9A2D9950
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
HTMLHEAD
META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type
META content=3D"MSHTML 5.00.2314.1000" name=3DGENERATOR/HEAD
BODY
DIVFONT face=3DArial size=3D2SPAN class=3D280484115-26042000I know =
there are new=20
questions about cookies posted every day, but I'm =
kinda/SPAN/FONT/DIV
DIVFONT face=3DArial size=3D2SPAN class=3D280484115-26042000stuck =
here.nbsp; Is=20
there any way to read a CFID or CFTOKEN out of a client=20
cookie/SPAN/FONT/DIV
DIVFONT face=3DArial size=3D2SPAN class=3D280484115-26042000and =
store it in a=20
database?nbsp; Please let me know if you can help.nbsp; Thank=20
you/SPAN/FONT/DIV
DIVFONT face=3DArial size=3D2SPAN class=3D280484115-26042000for =
your=20
time./SPAN/FONT/DIV
DIVFONT face=3DArial size=3D2SPAN=20
class=3D280484115-26042000/SPAN/FONTnbsp;/DIV
DIVFONT face=3DArial size=3D2SPAN class=3D280484115-26042000Scott=20
Wolf/SPAN/FONT/DIV
DIVFONT face=3DArial size=3D2SPAN=20
class=3D280484115-26042000Webmaster/SPAN/FONT/DIV
DIVFONT face=3DArial size=3D2SPAN class=3D280484115-26042000Road =
Warrior=20
Trading.com/SPAN/FONT/DIV
DIVFONT face=3DArial size=3D2SPAN class=3D280484115-26042000A=20
href=3D"http://www.roadwarriortrading.com"http://www.roadwarriortrading.=
com/A/SPAN/FONT/DIV
DIVFONT face=3DArial size=3D2SPAN=20
class=3D280484115-26042000941-587-5311/SPAN/FONT/DIV/BODY/HTML=


--=_NextPart_000_0003_01BFAF74.9A2D9950--


--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



Another cookie question

2000-04-23 Thread Bob Hill

Hello everyone,

I want to allow/deny access to a certain part of an application based on
whether or not they have visited that part before.  There is no user login,
so I was thinking of doing this with a cookie.  Even though it has it's
drawbacks, I was going to use #remote_addr# as the value of the cookie, but
I also need it to recognize another value (something like an ID parameter)
for it to do what I need.  So my question is...

Can a cookie have more than one value, or a value that contains a
combination of 2 values?

Or is there a better way to handle what I'm trying to do?

TIA
-Bob

--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: Another cookie question

2000-04-23 Thread Pete Freitag

You could just set it to cookie.name = "id, ip" Then Cold Fusion can treat
it as a list, and you can use the list functions to extract parts of it (eg
ListGetAt()).  From what you said I don't even think the cookie needs a
value though, the top of your page can look like this...

cfif IsDefined("cookie.beenhere")
You have already been to this page.
cfabort
/cfif

___
Pete Freitag
CFDEV.COM
Cold Fusion Developer Resources
http://www.cfdev.com/

-Original Message-
From: Bob Hill [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 21, 2000 4:46 PM
To: [EMAIL PROTECTED]
Subject: Another cookie question


Hello everyone,

I want to allow/deny access to a certain part of an application based on
whether or not they have visited that part before.  There is no user login,
so I was thinking of doing this with a cookie.  Even though it has it's
drawbacks, I was going to use #remote_addr# as the value of the cookie, but
I also need it to recognize another value (something like an ID parameter)
for it to do what I need.  So my question is...

Can a cookie have more than one value, or a value that contains a
combination of 2 values?

Or is there a better way to handle what I'm trying to do?

TIA
-Bob


--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.