SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast
    Join Date
    Dec 2004
    Location
    Finland
    Posts
    89
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Cookie array problem?

    I want to make solution, where I use PHP to set cookie array (defaults).
    Then I want to use Javascript to read and update this same cookie array.

    Any solutions?

  2. #2
    SitePoint Addict
    Join Date
    Aug 2002
    Posts
    385
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    pass them using get method.

  3. #3
    SitePoint Enthusiast
    Join Date
    Dec 2004
    Location
    Finland
    Posts
    89
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'm using this solution to set all visual default setting of menus, etc...
    Using GET method (http://www.something.com/index.php?defaults=1,1) is bad solution because number of default parameters will change.

    Solution what Iím thinking is something like:

    defaults[show_customer_menu] = 0
    defaults[show_file_menu] = 0
    Ö
    defaults[show_something] = 0

    1 = show
    0 = hide


Bookmarks

Posting Permissions

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