Pudu programming language
Menu

Std.App.Session.cookieFor

1 declaration

fn

cookieFor: &Std.App.Session.Session -> &Std.App.Session.Bounds -> Std.Http.SetCookie

This is a callable function.

What it does

The cookie a session travels in.

Only the name. Secure and unreadable by script, and refused on a request

that came from another site — which is what stops a session being used by a

page the reader did not open.

Read the signature

  • The text after the name is the type checked by Pudu.
  • Read arrows from left to right: inputs come first, and the final type is returned.
  • & borrows a value for this call instead of moving or copying it.

Back to Std.App.SessionSearch related declarations