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 2 of 2
  1. #1
    Senior Coder doubledee's Avatar
    Join Date
    Mar 2011
    Location
    Arizona
    Posts
    1,092
    Thanks
    26
    Thanked 0 Times in 0 Posts

    Where to handle Filtering & Sorting Choices?

    Is it possible to store information needed to Filter and Sort a page using Sessions?

    Or must it be done using data in the URL like this...
    http://local.debbie/finance/markets/editors-choice/by-date/desc/3
    Sincerely,


    Debbie

  • #2
    Regular Coder Redcoder's Avatar
    Join Date
    May 2012
    Location
    /dev/null
    Posts
    333
    Thanks
    2
    Thanked 47 Times in 46 Posts
    It could be stored in sessions, but you'd need to get the request first. This would come from the url GET or POST. So, data in the URL is the best. This means that it can be bookmarked, shared etc


  •  

    Posting Permissions

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