Is it possible to remember a user's choice without cookies ?
As the title says, I'd like to remember the user's choice without having to store a cookie...
That's mainly meant as an alternative website without cookies, for people who inactivated the cookies... So my main concern is to be able to remember that the user chose the "simple" interface, without having to call back for a cookie...
Is it possible ?
( I'm not at it yet, I just want to know if it can be done... )
Other thing, while I'm at it : is there a simple way to put a choice of two languages ? Like with a php include ? But same thing, it wouldn't have to rely on cookies to work...
Only other way I can think of would be to have the users register, store their preferences in a database, then retrieve those preferences when they log in.
yeah, I thought about that one, too.
Well, you have to store the preferences somewhere:
1. On the user's computer = cookies.
2. On the server = some sort of registration and user database.
Less automated, more messy option I don't think I'd recommend: when the user selects his/her preferences, use the GET method to send them so that they are in the URL. At the resulting page, display a message telling the user to bookmark this page to save those preferences. Then when they return to your site using that bookmark, the preferences will be in the URL.
Unreliable server-side alternative: record their IP address and preferences in a database. Unreliable because many ISP's have dynamic IP addressing for their customers.
yeah... I see... So, it's not possible to do it without cookies or without a database... toooooooo bad.
I was mainly looking for an alternative to my cookie-basket website. People who don't have cookies enabled on their website will never want to come back after what they saw... lol !!!
It's... not possible to imagine... lol !!
If you want to have a look, just for the fun of it, try inactivating js, inactivating the cookies, and go here : website
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)