[Klone-users] Sessions- very important
Stefano Barbato
barbato at koanlogic.com
Fri Sep 19 05:32:58 EDT 2008
Hi,
you can choose session directory using file.path option:
session
{
type file
max_age 28800
file.path C:\Windows\Temp\
}
Note that "client" session type just works if KLone has been compiled
with OpenSSL support (usually it's not).
This is an example config file that enables in-memory sessions:
-----[ kloned.conf ]-----
server_list my_http
log
{
type syslog
syslog.facility LOG_LOCAL0
}
my_http
{
type http
addr.type IPv4
addr.port 8080
dir_root /www
session
{
type memory
memory.limit 10240 # use max 10KB of RAM
memory.max_count 10 # max 10 sessions
}
}
-------------------------
bye!
s
On 19/set/08, at 10:50, diakat 2000 wrote:
> Hello,
>
> I gave my klone application to another person. But he can't login.
>
> So it takes some time to locate the problem:
> I use sessions to save the login state. These session states are
> stored in files on my computer on C:\cygwin\tmp. But if I delete the
> \tmp directory, no sessions are working.
> So I want to change the session type, but it takes no effect on my
> sessions.
>
> How can I change the session type? The following does'nt work:
>
> session
> {
> type memory
> max_age 28800
> }
>
>
> Just note, I've tried to move the session block into the app_http
> block as you see below but then kloned cannot be started.
>
> app_http
> {
> .....
>
> session
> {
> type client
> max_age 28800
> }
> }
>
> Hope, somebody can help me to get my application working again.
> Regards, d
>
> _______________________________________________
> Klone-users mailing list
> Klone-users at koanlogic.com
> http://koanlogic.com/cgi-bin/mailman/listinfo/klone-users
>
More information about the klone-users
mailing list