We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

The EE / CI way of passing information between pages

Development and Programming

Fritzinger's avatar
Fritzinger
35 posts
14 years ago
Fritzinger's avatar Fritzinger

I’m developing yet another search module for EE. At the moment my solution for passing the query string from the search page to the results page is to append it as a get parameter on the URL when I redirect. This required an obscure chance to the config file, so I’m guessing it’s not The Normal Way of Doing Things around here. Perhaps someone could give me some insight on the relative merits of the alternatives I can think of (or even some new alternatives):

(1) Pass the query string as a segment in the URL

(2) Store the query in the database a la EllisLabs Search

At the moment the module is too lightweight for (2)… no search caching, authorisation, flood protection etc going on at the moment. (1) is interesting though - are there SEO or other good web design reasons for doing it that way?

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.