Re: Session HELP !
- From: "Bob Bedford" <bedford1@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 5 Oct 2005 08:33:38 +0200
"Chung Leong" <chernyshevsky@xxxxxxxxxxx> a écrit dans le message de news: 1128465241.852113.59490@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Bob Bedford wrote:In the attempt to keep the URL and code quite clean, and avoid to have a very loooong url, we have used $_session[] for storing values trough the pages.
I would just take the time and remove this "feature" of yours and go back to using GET variable. A site that's unbookmarkable is far more annoying to end-users than long URLs. Add to that the inability for Google to properly index your site and strange behavior with new window, the aesthetic gain isn't worth it.
In fact the session variable is also used to avoid worring about such GET or POST variables.
Let's explain: the user make a search about a shoe make.
Then he looks trough the results, changing some pages, going inside articles to see details, and so on, then want to perform an other search.
At every page, I've to worry about 10-20 variables every time. Putting them in a session variable, I may ask the variable when needed, without worring if I passed between all pages. For this I created a bounch of functions to store and retrieve variable very easely, and it's a pain saving as you don't forget to pass variables between pages.
That's the main reason we used sessions variable. We don't need to worry about bookmarking such pages, as they are dynamic. We may use UrlRewrite later for such needs (altrough we didn't look at this function yet)
Also for Google, we provided a sitemap in order to get all articles without the need to worry about dynamic pages.
I am wrong ? any advice would greately be appreciated.
Bob
.
- Follow-Ups:
- Re: Session HELP !
- From: Gordon Burditt
- Re: Session HELP !
- From: Chung Leong
- Re: Session HELP !
- References:
- Session HELP !
- From: Bob Bedford
- Re: Session HELP !
- From: Chung Leong
- Session HELP !
- Prev by Date: Re: Any Free PHP Shopping Cart
- Next by Date: Re: Classes, don't follow.
- Previous by thread: Re: Session HELP !
- Next by thread: Re: Session HELP !
- Index(es):
Relevant Pages
|