Form Login

Post Reply
sduggan
Posts: 84
Joined: Tue Mar 20, 2001 9:16 am

Form Login

Post 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?
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

Form Login

Post 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
sduggan
Posts: 84
Joined: Tue Mar 20, 2001 9:16 am

Form Login

Post 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
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

Form Login

Post 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.
Post Reply