NetTalk Central

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Matthew51

Pages: 1 2 [3] 4
31
Web Server - Ask For Help / Trouble with menus
« on: May 15, 2017, 02:18:53 PM »
Using Nettalk 8.71

I am currently using the double drop menu, but I want to switch to a side type menu. 

The TaskPanel type is my first choice, and working fine except for one thing.  If you close a level 2 menu and try and open it again it doesn't open all the way.  You can see this in my example app by closing the Item or Mailboxes menu then opening it again.  It looks like the problem is in the java script.  However I'm not very good at java script, and a lot of code gets run so tracking down the problem has been difficult.

The Accordion again breaks on level 2.  In my example if you switch the menu to Accordion Mailboxes looks and functions correct, but Item doesn't get the css applied to it.  In my testing in my main app the css is never applied to any level 2 menu.

The only thing I could find in the patch notes for NT9 is something vague about the css header.  IF that fixed my issues can you let me know?

Thanks
Matthew

32
I`m taking a security pass over my site and wondering if nettalk has any CSRF built in, and if so what does it use?

For anyone wanting more info this is a good video on CSRF https://youtu.be/hW2ONyxAySY

Thanks
Matthew

33
Web Server - Ask For Help / Erasing session values
« on: November 17, 2016, 04:11:50 PM »
For security reasons I need to completely erase a session value, rather the just freeing the memory.  From looking at the code simply doing p_web.DeleteSessionValue('myData') will not do this.  However p_web.ssv('myData', '') will over write the data, and then I can delete the value to free the memory.  Is this correct, or do I need to do something different?

Thanks

Matthew

34
Web Server - Ask For Help / Storing encrypted data
« on: August 23, 2016, 03:06:09 PM »
I need to store payment tokens, and I want to encrypt them.  Encrypting the data and storing it isn't hard.  My question is how to store the decryption key.  The server and database are both on the same server.  It's an SQL database.  I want to avoid the computer equivalent of locking your door, then hanging the key next to the lock.

Thanks
Matthew

35
When I enable this users that are actively using my site get logged out regularly.  They tell me it happens about every 30 min which is what my session time out is set to.  If I disable multi-tab support again without making any other changes the problem goes away.

I have also noticed that new tabs don't inherit the session data of the original tab.  I don't know if these are related, but this one is defiantly the smaller of the two issues.

NetTalk 8.71

Thanks
Matthew

36
Web Server - Ask For Help / Static link to form
« on: June 03, 2016, 03:09:53 PM »
I want to send out emails that have a link to an invoice, and I'm trying to figure out the best way to do this.  I don't want users to be able to look at the link and guess at links to other invoices.  So including the primary key in the link is not an option.  I looked into the AddBrowseValue function, but the value created does not look to persist on the server long enough for use in an email.

What I am considering is to add a key to the invoice header that contains a GUID.  I could put code in the PreUpdate embed that would read in the record and call StoreMem.

If anyone has a better idea please let me know.

Thanks
Matthew

37
Web Server - Ask For Help / xml export on very large tables
« on: May 04, 2016, 03:51:51 PM »
It works fine if I export ~600 records.  But when I try it on 9000 or more the export breaks.  Looking at the file in a text editor I'm getting a small amount of garbage at the end of the file.
Code: [Select]
        <Row ss:Index="9399" ss:StyleId="s154" ss:AutoFitHeight="0" ss:Height="22">
         </Row>
mber" >-      </Table>
    </Worksheet>
  </Workbook>

If I delete everything before the </Table> the file looks to be fine as I can open it with an xml viewer or spread sheet program.  As far as I can tell all the data is their.

NetTalk: 8.68

Thanks

Matthew

38
I have a browse when sorted by the description field the SQL server takes a very long time to return the results of the view.  Now I'm already take steps to make the view faster, that's not my big concern.  My big concern is that while waiting the the view results the net talk server won't respond to any other requests.  Or at least not any where the p_web object is ask to access the database.  The requests just keep piling up until the SQL server finally returns it's results.

Net talk; 8.68 with SQL Server 2012 Express

Thanks

Matthew

39
Web Server - Ask For Help / EIP Spinners and double clicking
« on: April 18, 2016, 03:49:17 PM »
I would like to add EIP spinners to my browses, however if a user rapidly clicks one arrow it treats it as a double click and tries to open the form.  While it would be nice to disable double in just the spinner I realize this may not be easy to do.  An option to disable double clicking on a form by form basis would also work.  I don't want to disable it in my whole app as users like the feature on many browses.

Thanks
Matthew

Net Talk Version: 8.68

40
I have many forms in my app that contain 2 browses.  The first is a list of records that have been added, and the second is a list of records that can be added.

For example I have an invoice form where the first browse is a list of all items that are on the invoice, and the second is a list of every item that is for sale.  The second browse has a button the will add an item to the first browse.  See the example pic.

Both browses are added using the Procedure form element rather then having one be a child of the other.  And both have the other in their "Reset Other Fields" list.

The problem I'm having is that any action to one form will reset the selected field of the other to the first record.

I would like to
1.  Save the selected records so that the opposite form isn't always bouncing back to the top.
2.  Be able to set the selected record in the first form to the newly added record when the user click the add button on the second form.

Thank you
Matthew

Edit: Net Talk Version: 8.68

41
Web Server - Ask For Help / Running insert in a popup
« on: February 12, 2015, 03:18:20 PM »
Unless I'm mistaken NetTalk can't do this (if I am please tell me) so I decided to hack a solution.  I put the following code

Code: [Select]
Access:InvoiceTransaction.Insert()
InsertResult:IsInvalid = TRUE
ItemCode:IsInvalid = TRUE
!loc:alert = 'Item Added'
loc:InvalidTab = 0
loc:Invalid = 'ITR:LocationID'
ItemCode        = ''
InsertResult    = 'Item added. Add another?'
ITR:Quantity    = 1
ITR:Price       = 0
ITR:Cost        = 0
ITR:Notes       = ''
p_web.ssv('ItemCode', ItemCode)
p_web.ssv('InsertResult', InsertResult)
p_web.ssv('ITR:Quantity', ITR:Quantity)
p_web.ssv('ITR:Price', ITR:Price)
p_web.ssv('ITR:Cost', ITR:Cost)
p_web.ssv('ITR:Notes', ITR:Notes)
do Refresh::ItemCode

It works fine except the reset field values don't show up in the forum.  Except for [InsertResult] which is a display field.

42
The Rest - Ask For Help / Web Client Content-Encoding: gzip
« on: January 14, 2015, 05:20:04 PM »
Net Talk 8.34

I understand the web client is supposed to read gzip content automatically.  However self.page still contains the compressed content.  Is their anything I need to do to get the decompressed content?  I have placed zlibwapi.dll in the destination folder already.

43
The Rest - Ask For Help / SSL could not load SSL DLLs
« on: June 09, 2014, 06:54:59 PM »
We use the Web client to talk to our secure web server (also made with net talk).  Which had been working well except for one location where I get the error in the attached image.  I've checked to make sure the dlls are in the same folder more times then I can count. I've even put my test environment on their computer, and it still gives the error. The only think I can think of is that something else is stopping the program from loading the dlls, but I have no idea what.

The computer is running Windows XP Pro sp3
Net Talk 6.55

[attachment deleted by admin]

44
Web Server - Ask For Help / Edit in place browse inside a form
« on: April 23, 2014, 12:57:39 PM »
Net Talk: 6.55

See the attached screenshot for reference.

I have an invoice forum that allows the user to change the quantity and price of the details using edit in place.  The problem I have is when someone enters a new price I need to update a bunch of totals.  If they use the up/down arrows to change the quantity then ValidateValue::DetailBrowse gets called, and I can update everything.  However if they instead type in a new number, or change the price then nothing happens.

Is their any embed point, or other method I can use to update the numbers?  I can use embeds inside the browse to update itself (the extended column), but I don't see a way for the browse to force an update on the form.

[attachment deleted by admin]

45
Web Server - Ask For Help / SOAP requests are create new sessions
« on: January 23, 2014, 11:45:58 AM »
My server hosts a few pages to handle XML SOAP requests.  At the moment it creates a new session to handle each request, even if it's the same location sending it.

On a slow day 3 locations had up to 50 active sessions just  for the SOAP requests.  We plan on increasing the locations to a few hundred.  I could see the number of active sessions breaking 10,000 on busy days.  2  questions:

1.  Will this create significant overhead, ether on the CPU or ram?
2.  Can it be avoided?

Pages: 1 2 [3] 4