Anon
05-23-2008, 06:08 PM
Hello there.
I am refurnishing my website and I have everything in a frameset document. The problem with this is that when someone hits the "refresh" button, the frameset reverts to its default page. This is quite an inconvenience, and is actually rather annoying. So my question is how can I set up a cookie that makes it so my website doesn't revert on refresh.
But alas, that would be too easy. See, with a cookie like that, every time you visited my site, it would automatically got to the page you were last at. And when you're visiting a site, you don't want that! You want the homepage!
I am sure that this is actually not that hard of a challenge, but I am quite a novice when it comes to scripting and was wondering if you guys could help me out.
Thanks in advance!
-Anon
I am refurnishing my website and I have everything in a frameset document. The problem with this is that when someone hits the "refresh" button, the frameset reverts to its default page. This is quite an inconvenience, and is actually rather annoying. So my question is how can I set up a cookie that makes it so my website doesn't revert on refresh.
But alas, that would be too easy. See, with a cookie like that, every time you visited my site, it would automatically got to the page you were last at. And when you're visiting a site, you don't want that! You want the homepage!
I am sure that this is actually not that hard of a challenge, but I am quite a novice when it comes to scripting and was wondering if you guys could help me out.
Thanks in advance!
-Anon