Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

location.toString() dilemma

Problem getting full url



5:26 pm on Nov 17, 2003 (gmt 0)

Inactive Member
Account Expired


I'm implementing a tell friend system and have one problem, I have a link on a page which opens a small window where you would fill out your friends email etc. and send.

The referring url is passed to a hidden field but the full url ie:

is being truncated to:

Essentially only the first variable in the url is being passed, anything after is just cut off.

Any idea if there is some kind of limit using the 'toString()' method in order to obtain the full url?

Thanks in advance. Todd