[Gambas-user] Session object does not work anymore (gb.web, rev #5096)

Adrien Prokopowicz adrien.prokopowicz at ...626...
Mon Sep 24 19:08:07 CEST 2012


Hi Benoît,

I recently updated my server to the last revision of gambas, and I
noticed that the Session system didn't work anymore.

After some investigations, I saw that the session cookie path wasn't
the same anymore :

Set-Cookie:SESSION=88.140.174.145:0123456789ABB0C0DB1EEF5;path=/main.gambas.cgi;httponly
(Now)
Set-Cookie:SESSION=88.140.174.145:0123456789ABB0C0DB1EEF5;path=/;httponly
(Before)

The problem is that the CGI script is main.gambas.cgi, but because of
URL rewriting, the user never sees it (he sees index.html or
forum.html for example).

I now the change is intended (rev #5096), but is it possible to
manually set the session path (maybe a Session.Path property) ?

Regards,
Adrien.




More information about the User mailing list