[Gambas-user] gb.web - two observations
Vinode Singh Ujlain
ujlain at gmail.com
Mon Jul 1 14:02:33 CEST 2019
_*Observation 1:*_
When a session key is enclosed in Single quote .. it spreads after [
(see attached image). Double quoted key works fine. Is this correct
editor behavior ?
Session[ ' inpString ' ] = "test"
Session["inpString"] = "test"
_*Observation 2:*_
Strange behavior observed with DB.Subst whilst using in GB.Web
application. Any clues
SQL = DB.Subst("SELECT * FROM USERS where Loginid = &1 and Passwd = &2",
userid, password) 'Does not work - throws error No Current
Connection ....
SQL = Subst("SELECT * FROM USERS where Loginid = '&1' and Passwd =
'&2'", userid, password) ' Works Fine
regards - UZI
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20190701/a016a72c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: session key.png
Type: image/png
Size: 4404 bytes
Desc: not available
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20190701/a016a72c/attachment.png>
More information about the User
mailing list