On 1 Jun 2010, at 10:51, Lisa Pollard wrote:
I have just rolled out a system upgraded from A4d 3 (4D 2003) to
A4D 5 (4D v11).
I have a problem with my Session Cookie. When running interpreted I
have no problem, but when running in compiled mode (or as a built
application) I am getting a blank $sid.
I use this variable in many places and set other Cookies from this
session cookie.
Has anyone else seen this problem? Is there something I'm missing?
I have checked my Active4D.ini file and all the session cookie
stuff is set to the defaults.
Further to this I have found that not only is my $sid blank, but if
I execute the command "session id", I get nothing. However, if I
execute "get request cookie("ACTIVE4D_SESSIONID")" I get the cookie.
So at least I have a workaround!
Actually, the ACTIVE4D_SESSIONID doesn't work because it is empty on
the first call.
In the Active4D.a4l I defined the On Session Start method, which
allowed the command 'session id' to be used.
I also reset the session var name in Active4D.ini from $sid to
$a4d_sid just in case this was overwriting what I was setting it to
using 'session id'.
cheers
Lisa
--
Lisa Pollard
Software Developer
Another Dimension Ltd
Needham Hall Barns, Needham Street
Gazeley, Newmarket, Suffolk. CB8 8RR
[email protected]
Tel: +44 1638 554450
URL: http://www.anotherdimension.co.uk
_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/