Click to See Complete Forum and Search --> : Displaying prev selected URL


Zed
01-10-2004, 09:21 AM
I have a pre-page where visitors make a selection of an URL from a menu. I would like the page to remember the URL they selected on subsequent visits. That way they will have to do nothing more than maybe pressing a "go" button.

I know how to do the menu, but not the "remembering the URL selected" (which I believe involves a cookie).
Has anyone had any experience with this?
Thanks
Z

Khalid Ali
01-10-2004, 09:33 AM
you need to readup on how cookies may save data.
Here is a simple cookie script that stores users name (http://www.webapplikations.com/pages/html_js/document/SimpleLoginCookieScript.html)
You should be able to use it for saving anything you want with extreme simplicity..;)

Zed
01-10-2004, 07:31 PM
Thanks for your help. I will brush up on cookies and be back with any further Q's.

If anyone knows of an easy to follow cookie tutorial...

IsmAvatar
01-10-2004, 08:24 PM
see if this (http://jsmadeeasy.com/javascripts/Page%20Details/Check%20URL/index.htm) helps any.

This script is particularly useful for those who have their site on a free webspace provider, then use a "come.to" redirecting service. What this script will do is analyze the URL the visitor is at, and if they did not came to your site via the redirecting URL, it can print out a message telling them that is your new URL.

there's lots of fun stuff at
http://jsmadeeasy.com