depends on the needs of your application. generally, don't rely on the user 
to use your page in a certain order. instead assume that he/she will use  
your page in random order. the problem of force user to use your
page in a certain order is not very reliable. a user can always have 
multiple windows open and jump betweem them in a random manner.

also, don't check to see if a user accepts cookie or not. just set the 
cookie without checking it. and then in a later time, you can check to see 
if the cookie exist or not and act accordingly. there are cookie blocking 
software out there that sets between a user's browser and your cgi script 
that makes your cgi script believe that the cookie is accept but your 
cookie is actually get deleted. checking a browser accepts cookie or not is 
thus unreliable and cumbersome.

david

Mariusz wrote:
> How can I check if a user accepts cookies before he starts using my
> shoppingcart? I know I could set a cookie on page nr1 and then check if it
> exists on page nr2; but how do I know on which page he arrives first
> (which one would be then the page nr1)?
> 
> thank you,
> Mariusz



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to