/    Sign up×
Community /Pin to ProfileBookmark

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…
Thanks !!!!
Ness

to post a comment
PHP

4 Comments(s)

Copy linkTweet thisAlerts:
@NogDogMay 08.2005 — 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.
Copy linkTweet thisAlerts:
@Ness_du_FratauthorMay 08.2005 — yeah, I thought about that one, too.

But is there another way ? If I redo my site to do it without any javascript, I also want to do it without any cookies...
Copy linkTweet thisAlerts:
@NogDogMay 08.2005 — 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.
    Copy linkTweet thisAlerts:
    @Ness_du_FratauthorMay 08.2005 — 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 : [URL=http://enfantsdelo.free.fr/accueiltestcookie2.php]website[/URL]

    It's horrible. ?
    ×

    Success!

    Help @Ness_du_Frat spread the word by sharing this article on Twitter...

    Tweet This
    Sign in
    Forgot password?
    Sign in with TwitchSign in with GithubCreate Account
    about: ({
    version: 0.1.9 BETA 6.17,
    whats_new: community page,
    up_next: more Davinci•003 tasks,
    coming_soon: events calendar,
    social: @webDeveloperHQ
    });

    legal: ({
    terms: of use,
    privacy: policy
    });
    changelog: (
    version: 0.1.9,
    notes: added community page

    version: 0.1.8,
    notes: added Davinci•003

    version: 0.1.7,
    notes: upvote answers to bounties

    version: 0.1.6,
    notes: article editor refresh
    )...
    recent_tips: (
    tipper: @nearjob,
    tipped: article
    amount: 1000 SATS,

    tipper: @meenaratha,
    tipped: article
    amount: 1000 SATS,

    tipper: @meenaratha,
    tipped: article
    amount: 1000 SATS,
    )...