[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-users] http-session 2.0
From: |
Mario Domenech Goulart |
Subject: |
[Chicken-users] http-session 2.0 |
Date: |
Mon, 25 Jan 2010 19:41:33 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) |
Hi
For those who are using the http-session egg for chicken 4: http-session
release 2.0 is not compatible with previous versions. The API has
changed.
The main changes are:
* `make-session-table' is now exported (it was `make-table' internally).
* `current-url' and `current-ip' are gone
* `session-create' doesn't use the url-pattern argument
anymore (`session-table' can be parameterized for separating
web applications)
* added `match-ip-address?' parameter. By default, http-session
ignores the IP address of the client when checking whether the
session is valid. If `match-ip-address?' is #t, it will take
the IP address into account.
* Deprecated procedures: `session-delete-binding!' and
`session-delete!'
* New procedures: `session-del!' (to substitute
`session-delete-binding!') and `session-destroy!' (to
substitute `session-delete!')
Best wishes.
Mario
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Chicken-users] http-session 2.0,
Mario Domenech Goulart <=