|
Posted by CAH on 04/05/07 09:26
On Apr 5, 10:03 am, Erwin Moller
<since_humans_read_this_I_am_spammed_too_m...@spamyourself.com> wrote:
> mickysoft....@gmail.com wrote:
> > On Apr 5, 10:40 am, "CAH" <madsgormlar...@gmail.com> wrote:
> >> I need to make at multilingual website, with php and mysql, and I have
> >> placed the different language in different columns in a database. But
> >> when the user chooses a language, should I make the choice stick with
> >> a cookie or a session or something else?
>
> >> Mads
>
> > You can store the user`s selection in their session file or if they`re
> > a registered user you can store it in their profile in the database.
> > If you need help dooing any of this just ask :)
>
Thansk for both replies.
I do not have an option to register, it would not make sense on this
kind of site. But is there not an option to save as cookie if
possible, and if cookies are not enabled then use a session ? It would
be annoying for the user to make the selection each time they visit,
so a cookie would seam like the ideal solution. But then not all have
cookies enabled, so therefore the automatic switch to session.
Mads
[Back to original message]
|