Hi - this is a question regarding javascript cookies.
I am using a javascript script to pass choices from 3 drop down
boxes within a search form, to the same form on other pages. This saves users having to scroll down the contents of the 3 boxes when they only want to change one option.
I am doing this by writing and reading from a session-only cookie.
The search form is on all the pages on my site.
The search form can be run from pages in 3 directories all unbder the same domain name - the root directory, the acatalog directory and the search results page which shows the cgi-bin in the url.
The problem I have is that the drop down box entries are not passed between the screens in the different directories.
If I enter choices in the acatalog screen, they are not displayed in the drop down boxes on the cgi-bin screens. If I then enter choices in the cgi-bin screen they are picked up by every other cgi-bin screen. When I go back to the acatalog screen the choices shown are the ones I entered last time I was in the acatalog screen.
The site is hosted on a Linux/Apache server.
Any help would be appreciated.
I am using a javascript script to pass choices from 3 drop down
boxes within a search form, to the same form on other pages. This saves users having to scroll down the contents of the 3 boxes when they only want to change one option.
I am doing this by writing and reading from a session-only cookie.
The search form is on all the pages on my site.
The search form can be run from pages in 3 directories all unbder the same domain name - the root directory, the acatalog directory and the search results page which shows the cgi-bin in the url.
The problem I have is that the drop down box entries are not passed between the screens in the different directories.
If I enter choices in the acatalog screen, they are not displayed in the drop down boxes on the cgi-bin screens. If I then enter choices in the cgi-bin screen they are picked up by every other cgi-bin screen. When I go back to the acatalog screen the choices shown are the ones I entered last time I was in the acatalog screen.
The site is hosted on a Linux/Apache server.
Any help would be appreciated.
Comment