Thanks for the replies Mark and Bruce...
How odd - I left the project last night and went to bed, came back this morning and just loaded, recompiled and ran, and it looks like the Session Variables were being set Ok.
I went back into the NetSimple settings for the WebServer procedure and changes the 'Change Session on Log In/Out' flag on ON and the session value stopped working again. I went straight back in and turned them OFF again (no other changes), and the session value STILL wouldn't work. Shut everything down, came back later and restarted and it worked again.
It seems that the changes being made in the settings area are perhaps being cached or not re-read correctly until the whole project (and Clarion) is restarted?
And thank Mark, yeah, I knew about the session value not being a LONG any more. I don't actually store it anywhere myself, just inspecting it via p_web.SessionID when I noticed that my session variables were being reset in between pages.
Bruce, I tested in about 3 browsers here (IE, Chrome and Firefox). Similar results in all. The log of the headers show the cookie, but with a null value:
GET /EntryPage HTTP/1.1
Host: localhost:88
Connection: keep-alive
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.97 Safari/537.22
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: SESSIONID=null
Bit of a mystery, and hit and miss as to whether the session ID gets generated or not...