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 - Stu

Pages: 1 2 [3] 4 5
31
Hey Folks,

So as we know, the human race is a silly bunch of people.

We do stuff like open up more than one tab in a system designed to be just a single window.

Ahem. With that out of the way, here goes. Get some popcorn.

I'm implementing a nice solution for this problem.

BUT.

One of the major pieces of functionality doesn't work.

1. User opens up a record form. A memory file record, let's call the file mem_EntityOpened, is added.
2. For some reason the user has a second tab to my system open. They leave their desk for a while, come back, and start working on the second tab.
3. On the second tab, they go to say the homepage.
4. In Webhandler, when certain pages are loaded, the mem_EntityOpened records for that Session are deleted. Cleared. No more.
5. The user goes back to the first tab, sees the stuff they were working on, and clicks on the SAVE button.
6. But in between this time, other users have come and gone in that page, changing stuff. The page for this user has the very early info, and will save over the top of any other changes made in between times.
7. My solution code checks for the entity record in mem_EntityOpened, AND IF IT DOESN'T EXIST (because they were working away on tab 2), doesn't let them save the page.

Now the problem is .. And I _think_ this is because of threads (but am not 100%, a little confused) .. That the check in the form on Save doesn't recognise that the records of the memory file have been deleted.

That is. They have definitely been deleted when the user was working away in tab 2. I even created a browse of the memory form, with delete functionality, and open it up in a second tab and delete the record there. It's GONE.

But in the form, in tab 1, when the user clicks on the Save button .. It still has the record in the memory file. I do a set / next and it is there. It shouldn't be. I can't really understand why it's still there (because the whole point of using a memory file in this situation is so I don't have to use a global queue). But it is.

Any thoughts?

32
Hi Folks,

Am messing about with a Redactor editor field, and have run into a couple of interesting things.

1. <br/> tags are replaced with <br>, which I wouldn't care about, but it causes an XML Parsing (mismatched tag) error when viewing as html.

2. A clean (straight html) string value can have a <13,10> added to it. I've only just discovered this, and am just about to try and work out why this is happening, but thought I'd mention it here in case someone else has had it.

Any thoughts?

Cheers.

33
Hi Folks,

Just thought I'd pop this in here after discovering that the old way no longer worked. It may be teaching grandma to suck eggs, could be I'm just really slow to the party!

My code to always redirect to the index used to live in the "Before <form>" embed.

Now it lives in the SetFormAction routine, at the End embed.

The code is:

Code: [Select]
loc:formaction = 'w_Index'
'w_Index' being the url of my index, obviously :)

34
Web Server - Ask For Help / NT 8.19 - Issues with _chain_
« on: July 18, 2014, 07:16:07 PM »
Hey Bruce/Folks,

Just upgraded to 8.19 because it gives us back our loading gifs! Huzzah.

But.

Now, after I log in and log out and then try to log back in again .. BOOM.

The url of the previous page gets a _chain_=1 added to it, and the login page is loaded again, clear of values.

** The thing that's different about this login page is that it doesn't do any logging in. Once the username + password are entered, it moves to a Terms and Agreement page (where the actual logging in code is).

Picture attached of the source code. I change the loc:formaction field to be the Terms and Agreement url.

This was working fine in 8.18. Is no longer working in 8.19 [EDIT .. Now am not 100% on this, pretty sure I was logging in multiple times, but it might have been in different browsers, so this could have been something in nt8, 8.18 being my first version from nt7).

[attachment deleted by admin]

35
Hi Folks,

I'm trying to get access to emails through Exchange Web Services.

When needing authorization, I've been using ThisWebClient.Authorization = ThisWebClient.CreateAuthorizationString(username,password) in a procedure with a NetWebClient object.

At the moment, accessing the EWS page (https://mailserver.com/ews/Exchange.asmx) with the above gives back 401s.

Reading http://msdn.microsoft.com/en-us/library/office/dd633692(v=exchg.80).aspx makes me wonder if I need to somehow include the "Domain" in there. I've tried "domain\username" in the above username, but it doesn't seem to work.

Any ideas/thoughts?

36
[Apologies, should have been posted to the Other Stuff forum]

Hi Folks,

I'm trying to get access to emails through Exchange Web Services.

When needing authorization, I've been using ThisWebClient.Authorization = ThisWebClient.CreateAuthorizationString(username,password) in a procedure with a NetWebClient object.

At the moment, accessing the EWS page (https://mailserver.com/ews/Exchange.asmx) with the above gives back 401s.

Reading http://msdn.microsoft.com/en-us/library/office/dd633692(v=exchg.80).aspx makes me wonder if I need to somehow include the "Domain" in there. I've tried "domain\username" in the above username, but it doesn't seem to work.

Any ideas/thoughts?

37
Hey Folks,

Just wondering if anyone has seen anything like this! (the picture shows)

Basically I've been running my couple of nettalk webservers as exes in the day to try and track down a couple of errors that seem to occur under heavy usage.

So yesterday I get a phonecall, "the system is broken! nothing saves!" .. Flick over to the RDC and see this (attached).

--

Record Retrieval Error

Error: (SMuX Provider: Physical connection is not usable.
Unable to open a logical session (08S02)) attempting to access a record from
the dbo.<filename> file. Returning to previous window.

--

Then there's also a sql connection message window.

Have googled a bit, but having trouble understanding just what happened.

Just wondering if anyone has come across this in their travels?

[attachment deleted by admin]

38
Web Server - Ask For Help / Nettalk 7.38 .. Build changes
« on: March 28, 2014, 12:11:27 AM »
Hey Bruce,

Not sure this is the right place to post this, but the other places didn't seem right either.

Could you let us know what changes are in Nettalk 7.38 (noticed it was updated on Mar 26)?

39
Web Server - Ask For Help / Redactor saving apostrophes as ’
« on: March 26, 2014, 05:05:48 PM »
Hi Bruce/Folks,

NT7.last, Clarion 9.0.10376

Using the Redactor editor (love it) seems to save apostrophes as the ’ character into fields in the database (ie a Note field).

Looking it up (http://stackoverflow.com/questions/2477452/a-showing-on-page-instead-of) seems to indicate I need to change to UTF encoding, but pretty sure Nettalk should handle this okay?

Stu

40
Web Server - Ask For Help / (Request) Totalling at top of Browse
« on: March 19, 2014, 03:17:30 PM »
Hey Bruce,

Just a really simple request, haw haw.

Would you be able to put on your list, if it's not there, the ability to have the totalling appear at the top of the browse (you could still use loc:rownumber via jquery updating a div, but am sure I'm teaching grandma how to suck eggs).

This would be super helpful for my people, who love to see totals immediately, rather than scrolling to bottom of page.

Thanks.

41
Web Server - Ask For Help / "Not our hot key" messages in DebugView
« on: March 17, 2014, 06:35:45 PM »
Hi Folks,

I'm getting a LOT of "Not our hot key" messages in DebugView, particularly (or only? not sure) when using Nettalk procs/systems.

Attached is a screen of a DebugView that is happening now, I'm working on a procedure that has a couple of Nettalk NetEmailReceive/Send objects used on a generic window.

Any ideas what this could be?

(if you google "not our hot key", three results come up, and they don't look nice. If you google the phrase without the quotes, hopeless, way too much)

[attachment deleted by admin]

42
Hi Folks,

I've got a lot of memory forms that house browses. Those browses open up forms. When the back button is clicked from a form, the user sees a "document expired" message (depends on browser what message they see).

Yes, the back button is evil. But it's not me that gets fired up about it, it's the consumer. And it doesn't help to explain about "security" and "forms" etc. They just want it to work. So in this specific situation (going back to a memory form) I'd like to help them out.

I've looked about a bit here for something recent, found http://www.nettalkcentral.com/index.php?option=com_smf&Itemid=36&topic=611.0;prev_next=next, but can't find anything (might not be looking right) that helps in this specific instance.

Is there a way to get a memory form to NOT be forgotten/expired when a user clicks the BACK button to it?

43
Hi Folks/Bruce,

I have two sites on the "mydomain.com" domain.

Site A - Intranet (www.mydomain.com), logging in
Site B - Intranet (https://subdomain.mydomain.com:88), logging in

1. Visit Site A, log in.
2. New tab on browser (chrome, firefox, IE), visit Site B, log in.
3. Return to Site A, have been logged out.

It seems like when I visit one or the other sites after visiting the other, the Session is cleared somehow?

Grateful for any wisdom/experience on this matter.

Cheers.

44
Hi Bruce,

Example attached. Click on "Testing!" menu link, type something into the "Subject" field then press tab on keyboard.

Just wondering if in the future this will be working (like NT8!), or if it's me?

[attachment deleted by admin]

45
Hi Bruce,

Have got a memory form with a local string var on it (is a decent size, 10000).

It's on the form as a "text" type field with Redactor selected.

When I type something in and then click on a button on the form (a custom button), there is nothing in the session value for the field.

Example attached, BasicWithMenu (2).zip gives me this result (is under "Testing!" menu item).

Hope this one is easy!

[attachment deleted by admin]

Pages: 1 2 [3] 4 5