Webmastersite.net
Register Log In

Doc change for {SESSIONID}

Comments on Doc change for {SESSIONID}

nelgin


Usergroup: Customer
Joined: Jul 17, 2003

Total Topics: 39
Total Comments: 100
nelgin
Posted Oct 04, 2007 - 1:24 PM:

If SESSIONID is alphanumeric then the integration scripts will fail.

Example:

$sessionquery = 'SELECT x FROM y WHERE id={SESSIONID}';

needs to change to

$sessionquery = 'SELECT x FROM y WHERE id="{SESSIONID}"';

This should probably be the case for any variable not explicitly defined as a numeric variable. (ie, anything that could be alphanumeric should be double-quoted).
Thanks,
Nigel
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.