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.


Messages - seanh

Pages: 1 ... 4 5 [6]
76
Web Server - Ask For Help / NTWS and Secwin
« on: August 21, 2017, 07:04:19 PM »
We have a normal wndows app and would like a very limited NTWS for one small part.

Is it possible to control the WS access from the Normal Windows app?
Is it possible for a supervisor to set who goes into the WS without emails flying around.  We want the same logon as the windows app.



77
@vinnie
The memory form has dates for filtering the browse.
The Button is set to refresh the browse. And it works fine if you click the Button.
If you press enter it goes to the previous page.

78
Web Server - Ask For Help / Re: One browse doesn't sort header
« on: August 09, 2017, 02:50:52 AM »
@Vinnie
Not sure exactly what you mean by needs to have a header? There is a header unless I misunderstand.
The data in all cases in this app comes from an SQL stored procedure thats copied into a memory table.  All other browses work fine and sort by column exept this one, which seems to be identical to alll the others.

79
OK To clarify.
I have memory forms with fields (dates for browse filters), buttons, one of which I call submit, but is just a button with an equate of Button:refresh that in client actions does a reset of other fields mainly a procedure calling a Browse.

In all forms the refresh is checked as default button.
In all cases the enterkey goes back to the previous page.
so enter - enter -enter - enter swaps between 2 pages

to further clarify - this behaviour seems to be application wide.

80
Web Server - Ask For Help / Re: One browse doesn't sort header
« on: August 07, 2017, 10:18:36 PM »
Sorting is set as server-side.
But it's set to file load.
In fact all the browses are set to file load, and all the others column sort fine.
I'll try page loaded and see if there is a difference.

81
Web Server - Ask For Help / Re: One browse doesn't sort header
« on: August 07, 2017, 09:49:25 PM »
I'll try and look

Just to note, this is All columns not sorting, not just one particular one.

82
Web Server - Ask For Help / Re: One browse doesn't sort header
« on: August 06, 2017, 11:59:41 PM »
It's a field in the table.
It's actually a memory driver table filled by a stored procedure in init.
But all the browses are like that and this is the only one that doesn't sort

83
No.  No std buttons at all. No update forms Everything is just display only in the browse.

84
Web Server - Ask For Help / One browse doesn't sort header
« on: August 06, 2017, 10:05:01 PM »
I have one browse where the headers don't cause a sort of that column.
All the others are fine, and I can't see any difference!!

Help!!!


85
NTWS 10
Memory form,  I have a search field(s) and a submit button marked as default button to refresh a browse
However pressing enter causes one to go back a page instead.

How do I get enter to press my button instead?

86
Has there been any development on this front?  
I find I also need to authenticate against Active Directory for the client


[editor - this topic has been split from
http://www.nettalkcentral.com/index.php?option=com_smf&Itemid=36&topic=4613.0 ]


87
Web Server - Ask For Help / Re: Default Login Screen Not Working
« on: April 18, 2013, 07:42:40 PM »
Bump
I'm having the same trouble Nettalk 7.07
Use of the wizard to create the basics for some reason does not activate the login.
well the login page appears and you type in stuff, but nothing happens.
I've added a debugOutputString in the validation logic and it never appears, its as if the procedure is not called.

I'm going to hack on example3 to get something working.


88
The Rest - Share Knowledge / Posting a file to a web site
« on: October 18, 2007, 09:15:12 PM »
The docs posting for a file only mention this in passing.
For multi part mime message, ie a file, you need to add '--' in front of the boundary string!

Hopefully this will save someone the 2 hours it took me find this.

Here is some code that works:
FileLen = ReadFileToString('WebProducts.csv',FileContents)

WebURL = 'http://' & clip(config:website) & '/admin/au_addproductsupload.php'

PostString = '--' & Boundry & CRLF |
           & 'Content-Disposition: form-data; name="localproductsfile"; filename="WebProducts.csv"' & CRLF |
           & 'Content-Type: application/octet-stream' & CRLF |
           & CRLF |
           & fileContents[1:filelen]    |
           & CRLF |
           & '--' & Boundry & CRLF |
           & 'Content-Disposition: form-data; name="Submit"' & CRLF |
           & CRLF |
           & 'Submit'& CRLF |
           & '--' & Boundry & '--' & CRLF |
           
ThisWebClient.SetAllHeadersDefault() ! We recommend you call this before Fetch()
                          ! You may want to modify some properties after this.
ThisWebClient.CanUseProxy = 1 ! Can use a proxy
ThisWebClient.ProxyServer = 'localhost'          ! Debug
ThisWebClient.ProxyPort = 81                     ! Debug

ThisWebClient.HeaderOnly = 0
!ThisWebClient.Cookie = Cookie
!ThisWebClient.Referer = Referer
ThisWebClient.ContentType = 'multipart/form-data; boundary=' & Boundry
ThisWebClient.AcceptEncoding = ''
ThisWebClient.ContentLength = Len(Clip(PostString))
ThisWebClient.Pragma_ = 'no-cache'

ThisWebClient.AsyncOpenUse = 1 ! Use AsyncOpen 12 seconds (recommended)
ThisWebClient.AsyncOpenTimeOut = 2000 ! up to 12 seconds to connect

ThisWebClient.InActiveTimeout = 9000 ! Set IdleTimeout 90 seconds
!ThisWebClient.Post(WebURL,PostString)

Pages: 1 ... 4 5 [6]