NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: robirenz on December 06, 2013, 10:04:47 AM
-
I can't get the multisite NT app to work with string session values.
Can't even get the demo app to use string values instead of the old long values.. something is wrong somewhere..
I have the security tab set up correctly (I don't have the Use Number for SEssion ID) ticked..
so something is a miss... anybody?
Best Regards...
Roberto Renz
-
Example seems to be generating alpha-numeric session ID's here.
Session values are generated in netweb.clw, NetWebServer._GenSessionId method.
That would be the place to add some self.trace code to see what's going on. Specifically you'd want to know the value of the parameter (p_length). If it is < 1 then numeric session ID's are generated.
-
Tried it again..
still getting a long and p_length in my host app = 0
I didn't do anything to the demo except change the name of the app etc.
any other ideas? should I reintall a version numer? I'm using 7.28 now.
-
OK..
found the problem maybe...
if I access my site with an ip, domain name etc. I get a 30 char session ID
but If access the site with 127.0.0.1 then I get a long session ID
any ideas of why this would be?
Best Regards...
Roberto Renz
-
well I got my normal apps to work ok and even the host program to work right sometimes, but sometimes alfter compile I only get LONG session ID's and then I recompile and get the String session ID. I'm dumbfounded....
-
Your browser remembers the previous session ID in a cookie (a memory cookie) and uses that as a preference. So you probably need to close your browser to kill the cookie. Especially if you are testing many apps at the same time, and one has the Session ID forced to be a long.
cheers
Bruce