dim ps as MySQLPreparedStatement
ps = app.mDB.Prepare( "SELECT * FROM user WHERE email = ? " )
ps.BindType( 0, MySQLPreparedStatement.MySQL_TYPE_STRING )
rs = ps.SQLSelect( u.email )
Getting error on above code — sometime ----- work most of the time.
The table has “email” field as ‘TEXT’, and ID is key field.
Have been running this in debug mode for several weeks without problem till today. Running it live (on line) starting yesterday and crashed a few times. This MAY have been the problem.
I read about that in the docs. on WebSession, so I have been going thru the docs about WebSession and WebApplication trying to figure where to put like property like ActiveUser (which is info on the current active user) and ActiveIssue (which is info on the current issue being updated/looked at.
The docs are not to clear on this; nether are the examples.
Thanks Tim.
I have move the variables from App to Session as you suggests.
When testing/debugging and want to look at the variables in Session can not find “Session”.
Is there a way to view the Session’s variables in the Debugger?