Now the problem:
The 1st time the browser receives the control from the server the menuSelected-cookie is null?!!! Although I have queried the cookie value before submitting the 1st time. The effect is that no tab is selected. At this point, document.cookie is only set to jsessionid="...".
However, if I then click another tab, and after click an infinite number of times it works!!! It's only the first time it fails.
Does anyone have a clue?
btw... got an error when I had åäö , i.e. Swedish characters. The way I did this was using the html sequences for those characters, & aring; & auml; & ouml; ( put spaces here to be able to show it )
What I meant by my last reply was that this forum can't handle Swedish charactes. hmmmm...
I think you need a protocol listener to see when and if the cookie gets set.
However, on the first dynamic page, you won't get a cookie returned from the browser ... if I am reading your problem correctly. You set the cookie after it requests the first page. So the second page request will contain the set cookie.