Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 8 of 8
  1. #1
    Regular Coder
    Join Date
    Jun 2002
    Location
    Vancouver, WA
    Posts
    233
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Are cookies enabled in public librarys, universities, businesses, etc.?

    That's my question... the following is optional reading.

    Most visitors to my site use my calories burned calculator. It uses cookies to keep track of your age, sex, weight, etc. so you don't have to re-enter them each visit. A convenience. But the calculator works without cookies.

    My new calculator gives the calories etc. in foods. The database is so big that it is divided into separate lists for meats, bakery, etc. Rather than have a webpage for each list, I have only one webpage which conditionally loads the desired list based on a cookie setting. When you want to change lists, a cookie is written to specify the desired list and then the page is reloaded.

    Without cookies enabled, this fails. You always return to the default list rather than going to the one you selected.

    With the new calculator it is not just a matter of convenience; it will fail if cookies aren't enabled. So I am wondering if they are enabled at public libraries, university computer systems, business computer systems, and so on.

    I can imagine them being disabled at a public library. Otherwise with the constant change in users the disk would fill with cookies. On the other hand, many sites depend on cookies. Perhaps the computers are set to delete a user's cookies at the end of their session?

    Thanks for your ideas on this,

    Peter

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Location
    Montreal, Canada
    Posts
    644
    Thanks
    0
    Thanked 0 Times in 0 Posts
    From what I've seen in schools and other public places, cookies usually aren't disabled or handled any differently than usual. The problem is that you had better be using session cookies only, otherwise the users info will be kept on the system even after they leave the station.

  • #3
    Regular Coder
    Join Date
    Jun 2002
    Location
    Ames, IA, USA
    Posts
    373
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Where I work, cookies are enabled in all public labs. In order to ensure privacy, all user information is wiped when the computer is rebooted. In this regard, we may likely be the exception.
    Need more emoticons?
    Visit Catman's Private Stock

  • #4
    Rockstar Coder
    Join Date
    Jun 2002
    Location
    USA
    Posts
    9,074
    Thanks
    1
    Thanked 328 Times in 324 Posts
    At my work cookies are enabled by default.

    And like goose said, just make sure to use session cookies and you'll be okay.

    As an alternative, what about using query strings instead of using cookies to load the lists? Or sending the data via POST to the next page?
    OracleGuy

  • #5
    Regular Coder
    Join Date
    Jun 2002
    Location
    Vancouver, WA
    Posts
    233
    Thanks
    2
    Thanked 0 Times in 0 Posts
    Don't have a clue what either of those two methods are. If either are server-side, I only use client-side stuff. It's all I've been able to learn (teach myself) so far.

    Thanks, Peter

  • #6
    Rockstar Coder
    Join Date
    Jun 2002
    Location
    USA
    Posts
    9,074
    Thanks
    1
    Thanked 328 Times in 324 Posts
    Okay, and yes they are server side methods, although you might be able to use query strings in javascript.. i dunno though.

    For your information, a query string is like the "?listID=6" on the end of the url. And post is if you were to have the list selector in a form and you submit the form to the page that generates the list and it can tell what you selected on the previous page.
    OracleGuy

  • #7
    raf
    raf is offline
    Master Coder
    Join Date
    Jul 2002
    Posts
    6,589
    Thanks
    0
    Thanked 0 Times in 0 Posts
    If you want to make it easy for your users ad still respect there privacy, then you need to learn some server sided codig.

    The database is so big that it is divided into separate lists for meats, bakery, etc. Rather than have a webpage for each list, I have only one webpage which conditionally loads the desired list based on a cookie setting. When you want to change lists, a cookie is written to specify the desired list and then the page is reloaded.
    This sounds harder to me then making a small db-driven app of a few pages.

    It probably will not take you a week to get the bsics of PHP or ASP and to be able to pull something like that off.

  • #8
    Regular Coder
    Join Date
    Jun 2002
    Location
    Vancouver, WA
    Posts
    233
    Thanks
    2
    Thanked 0 Times in 0 Posts
    I'm sure I'll eventually have to go server side. It's taking much too long to load databases and search through them.

    I hope when I learn that someday I will be able to convert the huge databases I am presently creating without re-typing them. Guess the sooner the better.

    It was just natural to teach myself HTML and then JS. Beyond that scares me and I don't know where to start.

    I'll post/ask again here when I'm ready.

    Thanks, Peter


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •