There was a PageLink in the actual form component. If I move the PageLink out
of the form component the ;jsessionid=xxx is generated.
The strange thing is that if the browser support cookies, the session is
correctly managed even if the form component contains a PageLink.
Isn't that a bug ? It is at least inconsistent.
// The login form
...
<form jwcid="@Form" class="login" listener="listener:login">
<table>
<tr>
<td><label jwcid="@FieldLabel" field="component:username"/></td>
<td><input jwcid="[EMAIL PROTECTED]" value="ognl:username"
displayName="votre pseudo"
maxlength="15"/></td>
</tr>
<tr>
<td><label jwcid="@FieldLabel" field="component:password"/></td>
<td>
<input jwcid="[EMAIL PROTECTED]" value="ognl:password"
displayName="mot de passe"
maxlength="15" hidden="true"/>
<input type="submit" value="ok" class="ok"/>
</td>
</tr>
</table>
<a href="#" jwcid="@PageLink" page="pages/LostLogin"><small>mot de passe ou
pseudo oublié ?</small></a>
</form>
...
---------------------------------
Blab-away for as little as 1¢/min. Make PC-to-Phone Calls using Yahoo!
Messenger with Voice.