|
That's not AJAX. A = Asynchronous, J = Javascript, A = And, X = XML. It looks like you're just writing numerical values. If you wrote out an XML document, you wouldn't need to make 2 calls.
Why are you creating a connection to the database, in order to write session values?
I hope to God you aren't planning to "turn on" (uncomment) that code! If you run updates against your database from query string parameters, you're begging to get hacked back to the stone age!
|