Reply to post:

Pizza and beer night out the window, hours trying to sort issue, then a fresh pair of eyes says 'See, the problem is...'

Christoph

I had a call that a web sales site had started giving weird errors. Got the client to send me their copy of the files, and found that:

1> They'd added a call to an exterior function that was somehow trashing the login cookie.

2> Someone had hashed out the line that checked that the cookie was still present (and kicked you back to the login screen if it wasn't) immediately before the call to the very complex SQL stored procedure that did all the charging.

At a guess they'd put in the exterior call, got fed up with going to the login screen, took out the line that did that, ...

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon