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.

All that's held in the cookie is a reference to the client/session variables
on the application server, CFID and CFTOKEN.

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.

Regards

Stephen


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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

Reply via email to