Page 1 of 1

Form Login

Posted: Mon Dec 18, 2006 3:36 pm
by sduggan
I'm using Webinator 5.1.4-Windows-w/plugin and when I try to index the site it keeps coming back with "Access Denied". We use a logon page to access the site. It uses a form that uses "HTTP Post". Is there a way through the webinator admin to get it to logon to the page in order to start the indexing?

Form Login

Posted: Mon Dec 18, 2006 3:48 pm
by mark
You'll need to download newer scripts form the webinator support page. Then use a primer or base url url containing the login info. Use protocol "http-post" to make it do a POST instead of GET.

http-post://yourserver/login?user=joe&password=SeCrEt

Form Login

Posted: Wed Jan 24, 2007 11:28 am
by sduggan
So if I understand correctly, I'll create a special login page that I will point the "Base URL" field in the "all walk settings" to. This will be an .asp page(?) page that will have a form with soemthing like <form action="http-post://yourserver/login?user=joe&password=SeCrEt> ?

Is that it?

Thanks

Form Login

Posted: Wed Jan 24, 2007 12:07 pm
by mark
Not quite. You shouldn't need to create anything. You said there's already a login page that takes POST. You need to setup the "Primer URL", not "Base URL" (usually), to perform the login. Place the login form values into the primer url's query string as if it was a GET and use protocol "http-post" instead of "http" so Webinator knows to do a POST instead of a GET.

If the login process sets a cookie so that any time you visit the site it recognizes you the login url should be in the primer url. If the login process is required on every visit you may need to use the login url as the base url instead.