U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ SQL » [solved]when to reconnect to the sql database?
Re: when to reconnect to the sql database? [message #46644 is a reply to message #46643] Tue, 21 June 2016 06:13 Go to previous messageGo to previous message
dolik.rce is currently offline  dolik.rce
Messages: 1796
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

akebee wrote on Tue, 21 June 2016 03:00
In my skylark web server app i use mysql server to store data.
the SqlSession didn`t have method such as "IsConnected()" so i can not hold the session
and have no choice but to connect to the server every time Embarassed


Hi akabee,

There is IsOpen() method that probably does exactly what you expected from IsConnected(). Check the docs Wink

Best regards,
Honza
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: [solved]crash when execute sql command
Next Topic: grid control hidden field sql accept
Goto Forum:
  


Current Time: Sat Apr 25 22:19:00 GMT+2 2026

Total time taken to generate the page: 0.00398 seconds