You can restrict the cookie to a restricted section of your web
application. See the cookie option in the cookeSession [1] or session
[2] middleware.

[1]: http://www.senchalabs.org/connect/cookieSession.html
[2]: http://www.senchalabs.org/connect/session.html

2014-02-12 18:38 GMT+01:00 Anto <[email protected]>:
> Hello
>
> I am using expressjs for a web project. A while ago implements a user area
> and therefore use sessions for user control areas.
>
> The route is as follows:
>
> http://www.domain.tld/user/login
> http://www.domain.tld/user/ (user area)
>
> Expressjs is sending me cookies on the main route ( http://www.domain.tld )
> and did not want it to be so, unless the user GET request, the send. As per
> EU directive can not send cookie without user permission (and send before
> the landing with this question).
>
> Can I change the behavior to not send cookies? Can I change the behavior so
> that we only send a certain route? Thank you very much.
>
> Regards
> Anto
>
> --
> --
> Job Board: http://jobs.nodejs.org/
> Posting guidelines:
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> You received this message because you are subscribed to the Google
> Groups "nodejs" 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/nodejs?hl=en?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "nodejs" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" 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/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to