4 Replies Latest reply on Feb 13, 2013 9:50 AM by Oliver_Reid

    html snippet to replace IWP login (FSA12) ?

    Oliver_Reid

      I have a client hosting Mutiple IWP sites with FMSA.

       

      We need an separate start page with each would with and html form to capture teh login info and ope teh IWP applcation bypsasing the stadard IWP login.

       

      The reason is that we need to conceal th the login pw with bullets (IWP cannot do that with an internal FM script account verifcation ), but still show different company logos on the logon page depending on which IWP app has been launched.

       

       

      I looked up this and found tip that suggests this code

       

      <div><form action="http://miIP/fmi/iwp/cgi" method="get">

      <input type="hidden" name="dbpath" value ="/fmi/iwp/cgi?-db=mydb&-startsession">

      <input type="hidden" name="acct" value ="acount">

      <input type="hidden" name="-authdb" >

      <label>Account</label>

      <input type="text" name="name" ><br>

      <label>Password</label>

      <input type="password" name="password" ><br>

      <input type="submit" name="login" value="Login">

      </form>

      </div>

       

       

      But the result is that you still taken to the sandard page and have to log in again. Also if you enter invalid credetials you go to the standard home page rather than being given a second chance

        • 1. Re: html snippet to replace IWP login (FSA12) ?
          RubenVanDenBoogaard

          Hi Oliver,

           

          Just did this last week,  this worked for me:

           

          <form action="http://server/fmi/iwp/cgi" method="get">

          <input type="hidden" name="dbpath" value="/fmi/iwp/cgi?-db=database&-startsession">

          <input type="hidden" name="acct" value="account">

          <input type="hidden" name="-authdb">

          <label>Account</label><br />

          <input type="text" name="name"><br />

          <label>password</label><br />

          <input type="password" name="password"><br />

          <input type="submit" name="login" value="Login">

          </form>

           

          which looks almost identical to your code, but did you replace the database and server name correct in your code?

          (in bold)

           

           

          Hope that helps,

           

          Best regards,

           

          Ruben van den Boogaard

          Infomatics Software

          ruben@infomatics.nl

          • 2. Re: html snippet to replace IWP login (FSA12) ?
            Oliver_Reid

            Many thanks -- that works, not sure why th original did not

            • 3. Re: html snippet to replace IWP login (FSA12) ?
              Malcolm

              I have a client hosting Mutiple IWP sites with FMSA.

               

              We need an separate start page with each would with and html form to capture teh login info and ope teh IWP applcation bypsasing the stadard IWP login.

               

              You can edit the CGI at the heart of the process. It's only for the brave but if you're comfortable writing a CGI you'll get the results you want. I would suggest that you have the default page appear by default. When the correct parameters are passed you attach livery for the appropriate company. You'll also have the opportunity to control the response when login fails.

               

              malcolm

              • 4. Re: html snippet to replace IWP login (FSA12) ?
                Oliver_Reid

                I have actually created a simple <div> containing Ruben's code and inserted in the index page in the web root for each client site, and have sent a copies to the clients' web desigers to decorate.

                 

                I also edited the original FMSA auth file to hide certain things and make it default to "Account Name" rather than "Guest" --- this is where the user is sent if they type in an invalid password, and it looks presentable.