---
name: "Catalyst::Plugin::Session::FastMmap"
section: "3pm"
platform: "linux"
package: "libcatalyst-plugin-session-fastmmap-perl"
version: "0.12-5"
release: "Debian 5.0 (Lenny)"
platforms: ["linux"]
url: "https://new.carta.tech/Catalyst::Plugin::Session::FastMmap"
---

# Catalyst::Plugin::Session::FastMmap(3pm)

Catalyst::Plugin::Session::FastMmap - FastMmap sessions for Catalyst

```
    use Catalyst 'Session::FastMmap';
```

```
    MyApp->config->{session} = {
        expires => 3600,
        rewrite => 1,
        storage => '/tmp/session'
    };
```

```
    $c->session->{foo} = 'bar';
    print $c->sessionid;
```

Fast sessions.\
 **EXTENDED METHODS** *finalize* *prepare\_action* *setup*\
 **METHODS** *session* *uri* Extends an uri with session id if needed.

```
    my $uri = $c->uri('http://localhost/foo');
```

**CONFIG OPTIONS** *rewrite* To enable automatic storing of sessions in the url set this to a true value. *storage* File to mmap for sharing of data, defaults to /tmp/session. *expires* how many seconds until the session expires. defaults to 1 day Catalyst Cache::FastMmap. Sebastian Riedel, `"sri@cpan.org"` Marcus Ramberg `"mramberg@cpan.org"` This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.
