You are here: Re: Session HELP ! « PHP Programming Language « IT news, forums, messages
Re: Session HELP !

Posted by Bob Bedford on 11/16/18 11:28

"Chung Leong" <chernyshevsky@hotmail.com> a écrit dans le message de news:
1128465241.852113.59490@g43g2000cwa.googlegroups.com...
> 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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация