write method
Writes session data to cookies
Implementation
@override
/// Writes session data to cookies
void write(Context ctx, String session) {
final cook = Cookie(cookieName, session);
cook.path = cookiePath;
ctx.response.cookies.add(cook);
}