|
Posted by Carl on 03/01/06 20:35
Chung Leong wrote:
> julian_m wrote:
>
>>In order to achieve a good design and therefore a good product, should
>>I have to use session variables instead, or is it just a way to do the
>>same?
>
>
> Don't do it. Using session variables to somehow hide GET variables
> cause major navigation issues when visitors view your site in multiple
> tabs/windows.
>
Like already being logged in when you browse the same site in another
window or tab? I would think thats a good thing.
My advice would be the opposite, don't pass data in the URL unless you
have a good reason to, and there often are good reasons.
I wouldn't suggest you set a product category in a session, but for the
user info, #items/page, etc there is no reason to pass it in the url,
and reasons why it would be beneficial to have it in the session.
Think which items should apply to the users "session", and which should
apply to individual instances (browser windows/tabs) of the session.
Cheers,
Carl.
[Back to original message]
|