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).

Albert Wiersch
AI Internet Solutions LLC

To unsubscribe or change your settings for TWSocket mailing list
please goto
Visit our website at

Reply via email to