search form doesn`t work after

Author Message
Chrystel PERRIN 03/29/2006 07:02 am
Hi,

Your product is really powerful and easy to use.
I just have a some troubles downloading a site with a specific search page
On this page, when a criteria is selected in a selection list, a javascript function
find the option which correspond in a hidden selection list (div tag)
Below I have copied a part of the code of the downloaded page

Some search parameters are set in session (config files)

There is a problem with the result pages
When all results can be displayed on one page > no trouble
If results have to be displayed on 2 pages, the 1st is OK but the 2d one get nothing

Browsing through the result page as indicated below

Search page > resultpage 1 > result page 2 > result page 3

on resultpage #1 the total number of results is OK but the "Next" button doesn`t work properly

Are some session parameters "lost" ?
Any idea or recommendations ?
I can modify the site if it`s needed

I would like to know also :
when more than one HTTP channels are used to download do they use the same session ?
It could explain that some parameters are melted when I have plenty of different links on a page and they are mixed

Currently I`m downloading the website with only 1 channel to try to avoid this. It`s seems to work well

Many thanks
CP

SEARCH CODE
JAVASCRIPT
<script language="javascript">
function search_products(strSelectName, strOptionValue) {
indexIE = navigator.appName.indexOf("crosoft", 0);
if(indexIE == -1 && parseFloat(navigator.appVersion) == 6) {
temp=document.getElementById(strSelectName + "_" + strOptionValue);
document.getElementById(strSelectName).selectedIndex=0;
} else {
temp=eval("document.all." + strSelectName + "_" + strOptionValue);
optionList = eval("document.all." + strSelectName);
optionList.selectedIndex = 0;
}

window.open(temp, "_self");
}
</script>



SELECTION LIST

<tr> <td class="formControl">&nbsp;
<select name="select_trade_name" onChange="javascript:search_products(this.name, this.options[this.selectedIndex].value)" class="formFieldTechno">
<option value="">Select a trade name</option>

<option value="0">Alcodet</option>

<option value="1">Alkamide</option>

<option value="2">Alkamuls</option>

<option value="3">Antarox</option>

<option value="4">Briquest</option>
</select>
<div id="select_trade_name_div" style="visibility:hidden">

<a id="select_trade_name_0" href="quick_links.jsp@RHODIA_SEARCH_253C_253EsearchType=products&RHODIA_SEARC
Oleg Chernavin 03/29/2006 07:02 am
Dear Chrystel PERRIN,

Yes, all connections use the same session, which is usually recorded in a cookie. This is why that search doesn`t work as you want. Sorry.

I am not sure, if I could do anything with it, but I can look at the online site with that kind of form to see what could be done. Just tell me the URL of the site and where to look there.

Thank you.

Best regards,
Oleg Chernavin
MetaProducts corp.
Chrystel 03/29/2006 07:02 am
Hi,

Currently this site is only available on our intranet. I`ll contact you if I have the opportunity to give an external access

Many thanks for your help

Oleg Chernavin 03/29/2006 07:02 am
> Currently this site is only available on our intranet. I`ll contact you if I have the opportunity to give an external access

OK.

> Many thanks for your help

You are welcome!

Oleg.