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

Pages: 1 [2] 3
16
Web Server - Ask For Help / Re: Posting to Paypal
« on: August 28, 2015, 10:33:35 AM »
Are you talking about IPN?

Little confused here by what you mean by "post a payment".

PP requires a place to post transactions to you (payment received, etc) and you need to acknowledge receipt by basically posting back to them the exact same thing.

Are you actually sending credit card info, etc? Are you building the transaction on your site (not theirs which it typical)?
Is that what you mean by post a payment?

17
Web Server - Ask For Help / Re: Multi-Site Host and Subdomains
« on: July 10, 2015, 09:17:09 AM »
Bruce,

There's a difference between obscurity and serving up your control panel by default....g
Not trying to obscure things.  Just didn't think the default-default page should be the admin control panel.....

The difference between accessing "mysite.com" or "acp.mysite.com" or "mysite.com/acp/"

Right now if the host header doesn't match to goes to the control panel....
Typing "sadjhsdlkjhsfjhsljfhjf.mysite.com" gets the control panel.....

I can't make entries for everything someone MIGHT type....

I'd like to be able to choose one of the hosted sites (DLLs) as the default - not just a page in the host webserver....

I guess I could create a default page that forwards to one of the site DLLs..... but doesn't that require sending a redirect to the browser? and it possible for the user to get a warning...


18
Web Server - Ask For Help / Re: Multi-Site Host and Subdomains
« on: July 09, 2015, 08:45:43 AM »

I think it's fine. I've done a few apps where I've loaded the same DLL multiple times - although not 100 <g>...

Hopefully it'll be 100...g  I may use this method as a stop-gap....

Is there a way to catch the host header just before passing it to the DLLs?  Basically in HOST.exe I'd want to trim off the leading segment of the host header to determine the DLL but pass the complete host header to the DLL.
In the DLL I could then determine what I need from the hos header.

This works fine in a standalone server.  Using Host to call it is the issue....


>> With this experimenting I've come to realize the default website (when it can't find a host header) is the admin site......  not good....

why not good?

Because its tempting to hackers.....  just showing its there....

>> Is there a way to create a unique URL for the admin site?
>> Is there a way to create a default sit

Note at the moment (but the app is just an app, so I'm sure it's possible - if you do make that change and want to submit it I'd be happy to fold that into the shipping app.)

Okay.  What I'd want is the default site to be informational and instructional on how to sign up, etc...

19
Web Server - Ask For Help / Re: Multi-Site Host and Subdomains
« on: July 09, 2015, 08:37:38 AM »
just curious why you would use this approach.
I have a few multi tenanted sites but they all log into the same url.

I'm using the URL to determine the database to use.  That way 2 different businesses can have the same login ID "Bob" but be totally separate.

This method also allows easier transition from desktop to web - take their desktop data and plunk it in a folder on the web....


20
Web Server - Ask For Help / Re: Multi-Site Host and Subdomains
« on: July 07, 2015, 02:49:30 PM »
With further experimentation I added my full hosts:

Bob.app1.myhost.com
and
Joe.app1.myhost.com

and I had them reference the SAME DLL......

It works and doesn't seem to change memory use much.  Is this a bad solution?
If I have 100 host entries all referencing the same DLL?

21
Web Server - Ask For Help / Multi-Site Host and Subdomains
« on: July 07, 2015, 02:08:43 PM »
I'm experimenting with a Multi-site host and it's working fine.

app1.myhost.com -> app1.dll
app2.myhost.com -> app2.dll

So, now I want to tweak it a bit....

I want to have the host header say:

Bob.app1.myhost.com and have that host processed by app1.dll

Q1:
I suspect I can use some trickery in the host.exe, correct? where?
I've tried to change the dll registered with a host header of ".app1.myhost.com" or "*.app1.myhost.com" and neither works, so I'm probably going to have to change it in code.....

Q2:
With this experimenting I've come to realize the default website (when it can't find a host header) is the admin site......  not good....
Is there a way to create a unique URL for the admin site?
Is there a way to create a default site DLL ?

Thanks,
Paul



22
E-Mail - Ask For Help / Re: Hotmail and TLS using NT 6.51
« on: May 18, 2015, 09:44:48 AM »
Using Nettalk Demo I've got the same problem.  This is what the LOG generates. 
I don't see a problem:

0 <71 < 220 BLU436-SMTP9.smtp.hotmail.com Microsoft ESMTP MAIL Service, Version: 8.0.9200.16384 ready at  Mon, 18 May 2015 10:42:53 -0700
84 > EHLO outlook.com
84 < 250-BLU436-SMTP9.smtp.hotmail.com Hello [98.173.162.234]
250-TURN
250-SIZE 41943040
250-ETRN
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-8bitmime
250-BINARYMIME
250-CHUNKING
250-VRFY
250-TLS
250-STARTTLS
250 OK
85 > STARTTLS
85 < 220 2.0.0 SMTP server ready

23
E-Mail - Ask For Help / Re: Hotmail and TLS using NT 6.51
« on: May 15, 2015, 12:40:40 AM »
Well I wrote a test app in C8 w/NT8.18 with the same error -53 result.

So, what does that error mean?

24
E-Mail - Ask For Help / Hotmail and TLS using NT 6.51
« on: May 12, 2015, 11:52:08 PM »
I have an older project in C55 using NT 6.51.  Client had been sending messages via Hotmail.
Not it doesn't work...

Gives and error -53.  

If I uncheck TLS I get an error indicating I need to start TLS...
If I StartTLS I get the error -53

So, something's happening but not sure why the error -53....

Any suggestions?  Is TLS broken in this release (6.51)?

25
Okay - found something....

In the browse on the form tab I had the "selection method" set to Radio.
Changed it to Hightlight and it works.....

Changed back to "Radio" and it doesn't work.....

So, Radio doesn't work.......

26
So even though I added the uid field to the browse the change didn't seem to take.

After several "pokings arounds" it apparently decide to compile my changes and started populating the value in the view.....

So since one was working I attempted to fix another.  This time I just added the uid field to the view.
Added some embed code to try and force a recompile.
Same problem - field blank - debug code working so it did recompile.

I deleted all my source and obj files and recompiled.  Added the uid to the browse.  The code in the CallClicked routine still returns a blank value.  Have no idea now how the first one 'started working again'.....


27
So I've been digging into this further.

The session variable is blank when the form receives it.

So, I started to look at where the browse sets the session variable.
In the routine "Call Clicked" it sets the session variable to the value of p_web.GetValue('cus:custrefnum')
I sent the value of p_web.GetValue('cus:custrefnum') to debugview and its blank...

Hmm..

So how is the value initially set?  I added 'cus:custrefnum' as a column in the browse and it's had no effect....


28
The browse/form combinations that aren't working were generated with the wizard.

I believe the app was NT7 when originally created.

Not sure I can create one that doesn't work. 

I think what I'm asking is what might have changed in the browse/form relationship NT7 to NT8?
Can you suggest where to plug in some debug code to see where the failure is happening?
The form is clearly not getting the correct record selection when it fetches the record.
The resulting form - when a record is selected and change clicked - has an empty record.



29
I looked at other messages about this error - I'm not using 2 tabs...

C8, NT8.18.....

Application was working.  Edited the form and browse - now its not.... ???

Browse and Form Keys match.  Dozens of Browse/Form combinations

I think the app was originally in NT7 - so editing the procedures MAY be changing some default or something that I'm not noticing?

Any suggestions?


30
Nobody's doing this?   ::)

Pages: 1 [2] 3