At 11:22 10/05/01 +0100, you wrote:
>Toni,
>
> >
> > OK, i do that but the question is where i put the language flag? In a
> > session variable, in a client variable? client variable stored into a
> > cookie? client variable and passed in the URL all time?
>
>You've got the wrong idea about client variables.
>
>Client variables are not stored in a cookie. They are stored in a
>datasource on your CF Server as specified in CF Administrator. The default
>store for client variables is the Registry. You should definately change
>the client store from the regisitry to a database.
Is better store into a database than into the registry?
>All that's held in the cookie is a reference to the client/session variables
>on the application server, CFID and CFTOKEN.
OK. i think i undestand.
>However, as Chris suggests, it might be worth, if the user can accept
>cookie, storing the users language preference in a cookie that doesn't
>expire, because they will probably want to keep the same language the next
>time they come to your site and a session variable will timeout after 20
>minutes.
But client variables have a 90 days timeout, so i can stor language
information into client variables or into a cookie.
And the unique solution if a users don't accept cookies is pass CFID and
CFTOKEN into URL? So in that case i will have the bookmark problem.
>Regards
>
>Stephen
Regards
Toni
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists