Sled's answer is the best you can do, however, there is no way to get text after a pound sign "#". Anything after a "#" is considered an anchor and is not sent to the server. The "#" is only interpreted by the browser. You might try some Javascript trickery here, but I recommend avoiding passing data after a "#".