Yeah thanks, I used your tips and Guice serve and now it's working fine !

Christian

On Wed, May 5, 2010 at 7:12 AM, Stephan Hartmann <[email protected]>wrote:

> What is your logic that initiates a session?
>
> The container does not create a session if there is no need for it.
> In a servlet you can initiate a session by calling
>
>    HttpServletRequest.getSession(true)
>
> and in a JSP
>
> by adding the attribute
>
>     session="true"
>
> to a page directive.
>
> Regards,
> Stephan
>
>
> 2010/5/5 Christian Goudreau <[email protected]>
>
>> Hummm I got a weird issue
>>
>> I added to my appengine-web.xml this line :
>> <sessions-enabled>true</sessions-enabled>
>>
>> But no JSESSIONID cookie is created.
>>
>> Anyway Idea why ?
>>
>> Christian
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google App Engine for Java" group.
>> To post to this group, send email to
>> [email protected].
>> To unsubscribe from this group, send email to
>> [email protected]<google-appengine-java%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/google-appengine-java?hl=en.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine for Java" group.
> To post to this group, send email to
> [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-appengine-java%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to