NetTalk Central

Recent Posts

Pages: [1] 2 3 ... 10
1
Web Server - Ask For Help / Re: Browse Inline Menu ends up in Orphaned Embeds
« Last post by Niels Larsen on September 18, 2024, 10:00:06 PM »
Well, unfortunately that wasn't the trick. The effect continues to occur for new jobs.
Of course I can change the template every time I need some new code, but it would be nice to know what the reason is.
2
Web Server - Ask For Help / Re: Browse Inline Menu ends up in Orphaned Embeds
« Last post by Niels Larsen on September 17, 2024, 11:44:09 PM »
That was the trick.

Thanks
3
FYI Sorted
I have
1. Changed the Theme from base3d
2. Changed the checkbox from a checkbox to a button yes/no

saved/compiled and Ran, and now the checkbox buttons are visible and alive
I have no idea which worked and Im not inclined to selectively reverse.

Cheers
Richard
4
Web Server - Ask For Help / Re: Browse Inline Menu ends up in Orphaned Embeds
« Last post by Bruce on September 17, 2024, 08:23:04 PM »
I'm not sure. I tested here, and saw what you saw.
But then I touched the template and it seemed to be ok after that.

try editing the embed, adding a CR/LF maybe. Or just adding a space to netweb.tpw so it'll re-register.

Cheers
Bruce
5
Web Server - Ask For Help / UNRESOLVED:Browse Inline Menu ends up in Orphaned Embeds
« Last post by Niels Larsen on September 16, 2024, 10:08:18 PM »
Hi Bruce

When I want to "Send Click to Server" the server code ends in a Orphaned Embeds, and is Of cause not generated.
Maybe I'm doing something wrong....
Example attached.

/Niels
6
Web Server - Ask For Help / Re: Strange behaviour of NetEncryptString and NetDecryptString
« Last post by joep on September 16, 2024, 01:34:25 AM »
Hi Bruce,

I have got it working. Like you said I needed the length of the string.
So len(string) did not work. I used stringtheory to determine the length en stored it in the database.
And NetdecryptString with the wrigth length gave me in all examples the same string back.
Thanks for pointing the wrigth direction to me.

Regards Joep
7
E-Mail - Ask For Help / Postmark issues at the moment
« Last post by JohanR on September 16, 2024, 01:02:57 AM »
Hi,

In case anyone using Postmark to send emails via their SMTP server

https://status.postmarkapp.com/notices/5jmmv4cyfqboak2v-service-issue-outbound-smtp-sending-issues

cheers,

Johan
8
Hi Bruce,
Yes, its online from an Amazon Server
CTL-F5 doesnt seem to fix it though.

If I put the mouse cursor on the blank record  line, it brings back the detail but only while the mouse is hovering.
If there is more than one line , its always the top line blank but other line records are populated, and that too will activate with the hovering mouse.

Thanks
Richard
9
looks like a CSS issue. Is the page online?
(given that it's a CSS issue, and it's only an issue in the deployed server, you may want to refresh your CSS in the browser.)
10
Web Server - Ask For Help / Re: Apostraphe value in sql
« Last post by Bruce on September 15, 2024, 08:14:56 PM »
>> Bruce how is possible SQL injection attacks with prop:sql ?

Prop:Sql passes the SQL you write straight through to the database for execution.

By contrast the drivers create "Parameterized Queries" - which separate the "code" part of the sql from the data part of the sql. Separating the code and the data means that code is code and data is data.

With prop:Sql the code and data are smooshed together. So Jason's line;

InvoiceItems{Prop:Sql} = 'Select * from dbo.InvoiceItems where ProductName = ''' & p_web.GSV('SelectedProductName') & ''''

Is vulnerable to manipulation of SelectedProductName.
For example, say this is coming from an entry field on the window. Then I enter;

' ; Drop Table Customers; '

This is a trivial example, but shows the root problem. Once a user can enter "any sql", well they can do anything they like to your database, and none of it is good.

Pages: [1] 2 3 ... 10