sessions do not allow pages to be cached, when sessions are being used th no-cache 
header is set.

GET and POST are very differnt in some areas and very alike in others. obviously the 
two biggest changes is that all the variables and their values are in the url bar. I 
beleive most browsers have a 1024 limit for data in the url bar, I could be wrong. the 
other thing is you'll find spaces suck in url bars.

http://www.mediawaveonline.com/index.php?name=Chris Lee
<?php

    echo $name;

?>

will echo

    Chris

thats all. the space ends all. you'll have to convert all spaces to %20 or +

http://www.mediawaveonline.com/index.php?name=Chris%20Lee
http://www.mediawaveonline.com/index.php?name=Chris+Lee


-- 

 Chris Lee
 [EMAIL PROTECTED]


""Jorge Alvarez"" <[EMAIL PROTECTED]> wrote in message 
98u7rj$4nf$[EMAIL PROTECTED]">news:98u7rj$4nf$[EMAIL PROTECTED]...
Hi there,

I was using POST method on all my forms but I had to change them to GET
because of "expired page" errors (I noticed this as soon as I began using
PHP4 sessions).

It seems that GET works well so far, but I wonder if there's something else
I should be aware of. Are both methods equivalent?

TIA,

Jorge Alvarez



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to