I am trying to store a URL as a cookie. I'm using window.location, but it is not picking up the entire URL. For example, this is the URL:
<!-- m --><a class="postlink" href="http://cdsdadsweb:7000/pls/dev/pmc_de1_v2$comm.startup?P_DOCUMENT_ID=1535&P_17=1535&Z_CHK=57501">http://cdsdadsweb:7000/pls/dev/pmc_de1_ ... _CHK=57501</a><!-- m -->
but the retrieved cookie is coming back as:
<!-- m --><a class="postlink" href="http://cdsdadsweb:7000/pls/dev/NONE">http://cdsdadsweb:7000/pls/dev/NONE</a><!-- m -->
How do I get it to pick up the entire URL, parameters and all (basically, I'm building a back button. The page that I want stored as a cookie is a record list after a query has been run. I want them to be able to go back to that record list, without having to hit BACK a zillion times...)
Thanks,
Jenny
<!-- m --><a class="postlink" href="http://cdsdadsweb:7000/pls/dev/pmc_de1_v2$comm.startup?P_DOCUMENT_ID=1535&P_17=1535&Z_CHK=57501">http://cdsdadsweb:7000/pls/dev/pmc_de1_ ... _CHK=57501</a><!-- m -->
but the retrieved cookie is coming back as:
<!-- m --><a class="postlink" href="http://cdsdadsweb:7000/pls/dev/NONE">http://cdsdadsweb:7000/pls/dev/NONE</a><!-- m -->
How do I get it to pick up the entire URL, parameters and all (basically, I'm building a back button. The page that I want stored as a cookie is a record list after a query has been run. I want them to be able to go back to that record list, without having to hit BACK a zillion times...)
Thanks,
Jenny