How can I know what URL was last requested?

The "URL" property seems to always be the original URL, so this doesn't work
in the case of a redirection.
The "Location" property seems to indicate the last value of the "location"
property that was received, and is sometimes, but not always the URL of the
current request.

Is there an easy way to do always know the URL of the current request when
redirections are used? Or do I have to use more complicated method than simply
accessing a property?

I would think this is very important for proper cookie handling, because
cookies always need to be based on the current URL (as far as I know anyway).

Thanks,
Albert Wiersch
AI Internet Solutions LLC
supp...@htmlvalidator.com
http://www.htmlvalidator.com/



--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to