Yola and the password protection

  • 1
  • Question
  • Updated 8 years ago
We have a link to our Yola password protected page from another of our sites. We would like to be able to determine if the page is available (it wasn't this morning) before we try to send our clients to it.

I thought I could send a server generated request to the page (including login information) and check that the login page was not returned (ie scan the response for “Please enter your login and password below”). However I get the following response:

An existing connection was forcibly closed by the remote host

How can I prevent this error? Is there some other way to determine if the page is available?
Photo of Michael

Michael

  • 27 Posts
  • 1 Reply Like
  • anxious

Posted 8 years ago

  • 1
Photo of Sanja

Sanja, Official Rep

  • 10698 Posts
  • 495 Reply Likes
Hello Michael

I'm afraid that I am not sure if I understand your question or what you're trying to do. Would you mind sharing your URL in hopes that this will help me to better understand?

Thank you for your patience as we work on this together.
Photo of Michael

Michael

  • 27 Posts
  • 1 Reply Like
My url won't help you, but adsforensics.net and .com.

Currently you log into my .com (not a Yola site). We are able to pass through to my Yola password protected page from this site without requiring the user to re-enter a password (using cookies).

Problem is, when I tried this morning, the Yola site was down and it sent me to a password login. My clients would have no idea that they are going through this login process and so wouldn't have any idea of the login information.

I would like to be able to test the Yola site (just do a text search for Please enter your login...) to ensure that the login information that I was passing worked, before sending the client to the unlocked page. If it didn't work, then I would redirect them to another page saying sorry it is down right now.

So...the following error appeared this morning:

"An existing connection was forcibly closed by the remote host"

How can I prevent this error?
Is there some other way to determine if the page is available?
Photo of Sanja

Sanja, Official Rep

  • 10698 Posts
  • 495 Reply Likes
Hello Michael

If you simply need to see that the Yola page is working, you enter the page URL into your browser's address bar. I do apologize if I'm still not understanding. I hope that others may come along and give you some insight.
Photo of Nathan

Nathan, Champion

  • 3739 Posts
  • 307 Reply Likes
Hi Michael, I don't understand that good either. Do you mean it isn't making you login when you go to that page? Is it just letting you go to the page without entering the details? Could you give me more details, I will be able to help you better.

I do understand the error part. What page did you go to, to get this error? Whats the URL of it so I can take a look?

Thanks!
Nathan
Photo of Michael

Michael

  • 27 Posts
  • 1 Reply Like
Currently we send our clients to a password protected page on yola from our other site. To void them having to login, we pass the login pw and userid with the link when the page opens. They don't login, but anybody who stumbles upon the page would.

I would like to be able to confirm that the user is logged in before opening the page by doing a quick search for terms before entering yola, but it seems to be restricting me, and I am just wondering why.

Just to confirm, everything I am requesting here will be performed outside of yola. I don't know how else to explain this.
Photo of Nazlie

Nazlie

  • 1721 Posts
  • 51 Reply Likes
Hi Michael

I am not sure that I understand where you are experiencing the restriction. Can you explain that in a bit more detail, please? Also, can you post your website address so that we can help you further? If you are not comfortable doing this on the public forum, you can email us at support@yola.com and we can help you there.

Thanks
Nazlie
Photo of Nathan

Nathan, Champion

  • 3739 Posts
  • 307 Reply Likes
Hi Michael, can I ask you what are you using for the member login? I know you aren't doing page password protection, are you using php and mysql with your own uploaded html page?
Photo of Michael

Michael

  • 27 Posts
  • 1 Reply Like
I am using a password protected page. I just pass the password to the page as I enter it from my other site so that the user doesn't have to enter it
Photo of Nathan

Nathan, Champion

  • 3739 Posts
  • 307 Reply Likes
Oh, so, you want to use that page to log them in then when they click Login, it will pass the details to the one made by Yola and it will make them type it in? I am starting to understand now! :) Do you want it to automatically make them login if they have logged in through that page?

You can also use www.authpro.com That is a very good page protection system where people can sign up and have their own username and everything. You can look at mine here: http://authpro.com/auth/nathansmusics... Just sign up and then login to the members area and you'll see what is possible! But, you have to know HTML and CSS to make the members area look like mine! Because I have used a bunch of that, I also use JavaScript to make the options and everything. I also did a bunch of CSS to make the login page look how it is. So, if you want to get one where it will log you in and if you are already logged in it wont make you log in again if you already are, then, authpro is for you. If you pay for the authpro deluxe, you can add the login forms and all of the forms into your site, but, if you use free you have to use the hosted pages. But, the good thing is that authpro deluxe is only 4.99/mo! So, its your choice if you want to use authpro or the one you have set up.
Photo of Michael

Michael

  • 27 Posts
  • 1 Reply Like
I have on my other site something similar to authpro...just home built.

So when you go from authpro (which I assume isn't on yola) into Yola...how do you confirm that yola is actually up and running, or that the password for the password protected page is actually running correctly?

There must be an instance where Yola is down, or an error occurs (as it did to me the other day) and the password isn't accepted. My users will be confused if that happens and they end up at the yola login page...because they don't even know that they are logging in.
Photo of Nathan

Nathan, Champion

  • 3739 Posts
  • 307 Reply Likes
Hi, here is a password protected page: http://my.nathansmusicstudio.cz.cc/pa...
Photo of Nathan

Nathan, Champion

  • 3739 Posts
  • 307 Reply Likes
Login with:

Login: test Password: test
Photo of Michael

Michael

  • 27 Posts
  • 1 Reply Like
Our users are securely logged in to another site, when they request to go to the Yola site the other server submits the completed login form and they get access to the password protected page at Yola. This works fine when everything is up and working!

We would like the server to be able to test that everything is OK by first submitting the form and analyzing the returned data stream but this request fails with the error "An existing connection was forcibly closed by the remote host".

So it appears that the Yola site can distinguish between a response to a browser and a response to another server, we would like to know how to enable the response to our server.