in reply to Cookie problem

This site has a decent explanation of cookie mayhem.

A snippet from that site states:

The URL must use an absolute path; otherwise, the web server may attempt to avoid another request and response cycle by simply returning the content for the new URL as the content of the initial response via an internal redirect.

perldoc CGI gives:

script_name() Return the script name as a partial URL, for self-refering scripts.

Hope this helps,

-v
"Perl. There is no substitute."

Edited by davido: Disabled link to website violating O'Reilly's copyright.

Replies are listed 'Best First'.
Re^2: Cookie problem
by Hero Zzyzzx (Curate) on Aug 10, 2004 at 17:41 UTC

    Isn't that a link to illegally posted copyrighted material? Please don't do that, and please remove it from your post. O'Reilly are our friends, and you should support your friends.

    -Any sufficiently advanced technology is
    indistinguishable from doubletalk.

    My Biz