NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: Devan on September 03, 2012, 10:09:30 PM
-
Hi all,
I have a web app, which is pretty much all manual code, that was working right up until I upgraded to 6.40. Now all of a sudden, it seems that the app will not 'remember' session values any longer.
I have stepped through the login code, and if I do things like:
p_web.SetSessionValue('myvar', 'something')
LOC:TestVar = p_web.GetSessionValue('myvar')
then LOC:TestVar will be ''. Also:
p_web.ValidateLogin()
I# = p_web.GetSessionLoggedIn()
then I# will be 0 (zero) still. It doesn't seem to be recognising that there is an active session. What has changed between 6.3x and 6.4 that has broken this functionality? Is there a new flag somewhere that I have to chase down?
I've checked, and p_web.SessionID returns an alphanumeric string that matches the log in the app, so I am assuming that the session has been created - it just doesn't want to exist! :)
Cheers,
Devan
-
Ok - scratch the question. I just read through the release notes, and then went into the WebServer properties and cleared the flags for 'Change Session On Log In/Out' and 'Delete Session On Logout' and it all works like it should now!
Once again, bitten by the RTFM turtle... :-\