T
timothytoe
My URL usually looks something like this (of course with much more
data)...
http://www.site.com/page.php?data=AAAGX
The data is mandatory.
If someone comes into this page like this (without the data)...
http://www.site.com/page.php
....then I check a cookie to see what the most recent data was and
proceed. If there's no cookie, I send them back to where they enter
the data.
This works just fine, except without the data visible in the URL, the
user can't copy, bookmark, email, etc. the URL (an important ability
to have in this case).
Can I tack the data onto the URL so it's visible in the browser
address bar without a page reload? Or will I have to force a page
reload?
data)...
http://www.site.com/page.php?data=AAAGX
The data is mandatory.
If someone comes into this page like this (without the data)...
http://www.site.com/page.php
....then I check a cookie to see what the most recent data was and
proceed. If there's no cookie, I send them back to where they enter
the data.
This works just fine, except without the data visible in the URL, the
user can't copy, bookmark, email, etc. the URL (an important ability
to have in this case).
Can I tack the data onto the URL so it's visible in the browser
address bar without a page reload? Or will I have to force a page
reload?