Set Cookie httpOnly to false In Grails.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Set Cookie httpOnly to false In Grails.

I'm currently creating an application, in which I use code like this: 

session.user = user.username 
Hence I get JSESSIONID cookie created. But I want my client side program to read this cookie; But since its been set HttpOnly to true I can't get value from client side. 

How one should change the cookie Httponly to set false in grails? So that client side code can read them? 


You received this message because you are subscribed to the Google Groups "Grails Dev Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit
For more options, visit