<p style="MARGIN: 0cm 0cm 10pt" class="MsoNormal"><span style="mso-ansi-language: ES" lang="ES"><font size="3"><font face="Calibri">Hi,</font></font></span></p>
<p style="MARGIN: 0cm 0cm 10pt" class="MsoNormal"><span style="mso-ansi-language: ES" lang="ES"><font size="3" face="Calibri"> </font></span><span style="mso-ansi-language: EN-GB" lang="EN-GB"><font size="3"><font face="Calibri">I want to ask two questions:</font></font></span></p>

<p style="MARGIN: 0cm 0cm 10pt" class="MsoNormal"><span style="mso-ansi-language: EN-GB" lang="EN-GB"><font size="3"><font face="Calibri">I have to use one marker layer and I found some examples to “do” something on mouseover and on mouseout. Something likes that:</font></font></span></p>

<p style="MARGIN: 0cm 0cm 10pt" class="MsoNormal"><span style="mso-ansi-language: EN-GB" lang="EN-GB"><font size="3"><font face="Calibri">var marker = new OpenLayers.Marker(punt,icona);</font></font></span></p>
<p style="MARGIN: 0cm 0cm 10pt" class="MsoNormal"><span style="mso-ansi-language: EN-GB" lang="EN-GB"><font size="3"><font face="Calibri"><span style="mso-spacerun: yes"> </span>marker.events.register(&quot;mouseover&quot;, foo_var, method2);</font></font></span></p>

<p style="MARGIN: 0cm 0cm 10pt" class="MsoNormal"><span style="mso-ansi-language: EN-GB" lang="EN-GB"><font size="3"><font face="Calibri"><span style="mso-spacerun: yes"> </span>marker.events.register(&quot;mouseout&quot;, foo_var, method2);</font></font></span></p>

<p style="MARGIN: 0cm 0cm 10pt" class="MsoNormal"><span style="mso-ansi-language: EN-GB" lang="EN-GB"><font size="3" face="Calibri"> </font></span></p>
<p style="MARGIN: 0cm 0cm 10pt" class="MsoNormal"><span style="mso-ansi-language: EN-GB" lang="EN-GB"><font size="3"><font face="Calibri">And I also have to use one vector layer, but I only found the SelectFeature solution to do the same:</font></font></span></p>

<p style="MARGIN: 0cm 0cm 10pt" class="MsoNormal"><span style="mso-ansi-language: EN-GB" lang="EN-GB"><font size="3"><font face="Calibri">selectControl = new OpenLayers.Control.SelectFeature( [layer1,layer2], {onSelect: onFeatureSelectMethod,onUnselect:onFeatureUnSelectMethod, hover: true});</font></font></span></p>

<p style="MARGIN: 0cm 0cm 10pt" class="MsoNormal"><span style="mso-ansi-language: EN-GB" lang="EN-GB"><font size="3"><font face="Calibri">map.addControl(selectControl);</font></font></span></p>
<p style="MARGIN: 0cm 0cm 10pt" class="MsoNormal"><span style="mso-ansi-language: EN-GB" lang="EN-GB"><font size="3"><font face="Calibri">selectControl.activate();</font></font></span></p>
<div style="MARGIN: 0cm 0cm 10pt" class="MsoNormal"><span style="mso-ansi-language: EN-GB" lang="EN-GB"><font size="3"><font face="Calibri">But this second way it’s not working so fine as the first one. Is there some possibility to use mouseover and mouseout events in vector layers?</font></font></span></div>

<div style="MARGIN: 0cm 0cm 10pt" class="MsoNormal"><span style="mso-ansi-language: EN-GB" lang="EN-GB"><font size="3"><font face="Calibri"></font></font></span> </div>
<p style="MARGIN: 0cm 0cm 10pt" class="MsoNormal"><span style="mso-ansi-language: EN-GB" lang="EN-GB"><font size="3"><font face="Calibri">Another question, not so important, I use <span style="mso-spacerun: yes"> </span>OpenLayers.Request.GET method calling a php file, but in this one I can’t access to SESSION variable. I’m doing it right?</font></font></span></p>

<p style="MARGIN: 0cm 0cm 10pt" class="MsoNormal"><span style="mso-ansi-language: EN-GB" lang="EN-GB"><font size="3"><font face="Calibri">OpenLayers.Request.GET({url:&#39;file.php&#39;,params: {&quot;lon&quot;: feature.geometry.x,&quot;lat&quot;:feature.geometry.y},success:successMethod,scope:feature,failure:function() {alert(&#39;Something wrong happenned’);}});</font></font></span></p>

<p style="MARGIN: 0cm 0cm 10pt" class="MsoNormal"><span style="mso-ansi-language: EN-GB" lang="EN-GB"><font size="3" face="Calibri"> </font></span></p>
<p style="MARGIN: 0cm 0cm 10pt" class="MsoNormal"><span style="mso-ansi-language: EN-GB" lang="EN-GB"><font size="3"><font face="Calibri">Thanks a lot!</font></font></span></p>