At 12:10 PM 01/29/2002 -0500, you wrote:
> > > I knew that if you set a cookie and then cflocate in the
> > > same page the cookie isn't set. I realize that client
> > > variables could be affected if their default storage was
> > > cookie, however if I was using an DB for the variable
> > > storage I would suspect otherwise. My theory is incorrect
> > > for some reason and Client variables using a DB can not be
> > > set with a cflocate on the same page. Is this the common
> > > behavior?
> >
> > Yes, this is common behavior. You see, there is no state
> > management on the web. There is no correlation between page
> > requests. The server can't tell one request from the other.
>
>While there is no state management built into the HTTP protocol, it's
>incorrect to state that you can't set Client variables in a database and use
>CFLOCATION in the same page in most cases, even if you're using CFID and
>CFTOKEN cookies to associate the browser with the Client scope.

  I do not believe that is what I stated, although after re-reading his 
original post and my response I realize I did not address his issue.



>The only time when this may not occur is on the initial page request
>- if you use CFLOCATION there, the browser may not receive the cookies
>created by the CFAPPLICATION tag.

  This was the situation I assumed the original poster was running into.



--
Jeffry Houser | mailto:[EMAIL PROTECTED]
AIM: Reboog711  | ICQ: 5246969 | Fax / Phone: 860-223-7946
--
Need a Web Developer?  Contact me!
My Book: Instant ColdFusion 5  | http://www.instantcoldfusion.com
My New Book: ColdFusion: A Beginner's Guide February 2002
--
Far Cry Fly, Alternative Folk Rock
http://www.farcryfly.com | http://www.mp3.com/FarCryFly
______________________________________________________________________
Get Your Own Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation � $99/Month � Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to