0

From what I understand it is possible to get query strings and clean up the url afterwards.

I basically want to send a user a link containing many types of data to build up a special page for them and afterwards clean up the url to hide the mess. I would mainly use the parameters to load certain products etc.

What would be the best way going about this? And is this even possible?

Thank you.

2
  • 1
    It's not inherently possible. You'll always need to store the original information somewhere and redirect to a new clean url. At that url (new request) you'll need to be able to identify which of the previously stored information needs to be used (e.g. session, db-storage + token). Commented Dec 7, 2016 at 8:44
  • Thank you @Yoshi. That makes a lot of sense. Commented Dec 7, 2016 at 8:48

1 Answer 1

1

My thought is use two functions/links instead for this. First function/link will be that user will click and store those values in a session and transfer it to other neat URL .

2
  • That makes a lot of sense. Thank you! Commented Dec 7, 2016 at 8:47
  • @Tristan.L, thanks , there may be other easy ways also, this is just wht i thought or how i have used. Commented Dec 7, 2016 at 8:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.