You are viewing limited content. For full access, please sign in.

Question

Question

Web Access Login

asked on September 6, 2017

Hi,

 

Is there are way to use a form on my website to pass the login information to the login form of Laserfiche WebAcces to log a user in?

Thanks

Anthony

0 0

Answers

APPROVED ANSWER
replied on September 6, 2017

Yes, that's exactly what ProcessLogin.aspx is for.  You can post your credentials to that page and Web Access will log the user in.

0 0
replied on October 4, 2017

Hi,

I am trying to use the ProcessLogin method, but when I post my username and password in my form, it takes me to my Laserfiche portal login page with the following address:

 

https://subdomain.domain.co.uk/laserfiche/Login.aspx?db=MyRepository&msg=Invalid+Connection

 

Subdomain, Domain and Repository are all correct.

 

any ideas as to what I am doing wrong?

 

Anthony

replied on October 4, 2017

 

Hi,

I am trying to accomplish the sign on using the ProcessLogin.aspx file but I am hitting a problem.  When I enter the username and password on my form and submit it, it takes me to the login form of my LF portal with the following address: 

 

http://subdomain.domain.co.uk/laserfiche/Login.aspx?db=MyRepository&msg=Invalid+Connection

 

 

The subdomain, domain and repository are all correct.

 

Anyone have any ideas as to what I'm doing wrong?

 

Anthony  

0 0
replied on October 5, 2017

This is the code i'm using:

 

    <form action="https://subdomain.mydomain.co.uk/laserfiche/ProcessLogin.aspx" method="post">
      <h4>Login to your portal and access your documents</h4>
      <div class="input-group">
      <label for="username">Username</label>
      <input id="username" name="Username" type="text">
      </div>
      <div class="input-group">
      <label for="password">Password</label>
      <input id="password" name="Password" type="password">
      </div>
      <input name="Repository" type="hidden" value="MyRepository" />
      <input type="submit" value="Login">
    </form>

 

0 0
replied on October 5, 2017

What kind of user/authentication are you using?  Domain credentials, repository user, etc?

0 0
replied on October 5, 2017

They are a repository user.  So they have a standard username and password (not linked to a domain)

 

0 0
replied on October 5, 2017

Your page works for me with my Web Access instance.  I presume you have the actual repository name in place of "MyRepository"?

0 0
replied on October 5, 2017

Yeah, all the data is correct.  The submit button takes me to my web access site.  If I don't enter any credentials it takes me to the Web Access site (to log in) with 

Login.aspx?db=MyRespoitory

If I enter correct credentials I get taken to my Web Access site with the following address addition:

Login.aspx?db=MyRepsoitory&msg=Invalid+Connection

 

I can't seem to find out what is causing the Invalid+Connection?

0 0
replied on October 6, 2017

Is there anything in the event viewer on the Web Access machine that seems related?  What specific version of Web Access are you using?

0 0
replied on October 12, 2017

Hi,

 

Here is the error log from the system:

 

2017-10-12 12:40:04.860 [00017] | DEBUG     | Message: Config file change detected
2017-10-12 12:40:04.886 [00016] | DEBUG     | Message: Config file change detected
2017-10-12 12:40:13.180 [00014] | DEBUG     | Message: Timer CacheManager.RunCleanup running (25348643-1cea-4bc1-a756-4f32f0f536c5)
2017-10-12 12:40:13.180 [00014] | DEBUG     | Message: Timer CacheManager.RunCleanup complete (25348643-1cea-4bc1-a756-4f32f0f536c5)
2017-10-12 12:40:24.150 [00013] | IMPORTANT | Session: z3rqpvpgp4ozd4tfph20cfzr | OP: /laserfiche/ProcessLogin.aspx | Message: Client information
  Browser: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 10.0; WOW64; Trident/7.0; .NET4.0C; .NET4.0E; .NET CLR 2.0.50727; .NET CLR 3.0.30729; .NET CLR 3.5.30729)
  IP Address: 10.10.0.54
2017-10-12 12:40:24.150 [00013] | IMPORTANT | Session: z3rqpvpgp4ozd4tfph20cfzr | OP: /laserfiche/ProcessLogin.aspx | Message: Exception encountered, stack trace:
  Laserfiche.WebAccess.Common.Util.ErrorHandler.LogException
  Laserfiche.WebAccess.Common.Util.ErrorHandler.Standardize
  ASP.processlogin_aspx.__Render__control1
  System.Web.UI.Control.RenderChildrenInternal
Exception details:
  Message: Invalid Connection
  Stack trace:    at Laserfiche.WebAccess.Common.WARepository.get_Session()
   at ASP.processlogin_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer)

2017-10-12 12:40:24.166 [00018] | DEBUG     | Session: z3rqpvpgp4ozd4tfph20cfzr | OP: /laserfiche/Login.aspx?db=ImageOnDemand&msg=InvalidConnection | Message: LogoutSession z3rqpvpgp4ozd4tfph20cfzr
2017-10-12 12:40:24.166 [00018] | DEBUG     | Session: z3rqpvpgp4ozd4tfph20cfzr | OP: /laserfiche/Login.aspx?db=ImageOnDemand&msg=InvalidConnection | Message: DisconnectAll
2017-10-12 12:40:24.166 [00018] | DEBUG     | Session: z3rqpvpgp4ozd4tfph20cfzr | OP: /laserfiche/Login.aspx?db=ImageOnDemand&msg=InvalidConnection | Message: ForceDisconnect: ImageOnDemand
2017-10-12 12:40:24.166 [00014] | INFO      | Message: Session_End z3rqpvpgp4ozd4tfph20cfzr
2017-10-12 12:40:24.166 [00014] | DEBUG     | Message: SessionEnded z3rqpvpgp4ozd4tfph20cfzr
2017-10-12 12:40:24.166 [00014] | DEBUG     | Message: LogoutSession z3rqpvpgp4ozd4tfph20cfzr
2017-10-12 12:40:28.181 [00018] | DEBUG     | Message: Timer CacheManager.RunCleanup running (25348643-1cea-4bc1-a756-4f32f0f536c5)
2017-10-12 12:40:28.181 [00018] | DEBUG     | Message: Timer CacheManager.RunCleanup complete (25348643-1cea-4bc1-a756-4f32f0f536c5)
2017-10-12 12:40:30.212 [00013] | DEBUG     | Message: Timer UploadManager.RemoveUnusedFilesCallback running (ebcfff8c-78d5-461a-826a-d52748558839)
2017-10-12 12:40:30.212 [00013] | DEBUG     | Message: Timer UploadManager.RemoveUnusedFilesCallback complete (ebcfff8c-78d5-461a-826a-d52748558839)
2017-10-12 12:40:32.072 [00014] | DEBUG     | Message: Timer CleanupSharedDataCallback running (fc060423-bc03-46f4-bde5-1552c3dc56e0)
2017-10-12 12:40:32.072 [00014] | DEBUG     | Message: Timer CleanupSharedDataCallback complete (fc060423-bc03-46f4-bde5-1552c3dc56e0)

0 0
replied on October 12, 2017

We are running:

Laserfiche Web Access10.1 (10.1.2.286)

Laserfiche Repository Access10.1.0.215

0 0
SELECTED ANSWER
replied on October 13, 2017

I do get that same "Invalid Connection" error in Web Access 10.1, but this is fixed in 10.2.

0 0
replied on October 13, 2017

Thank you.  I have downloaded the update.  Is that a hot install update?

Anthony

0 0
replied on October 13, 2017

It is an upgrade that went through the normal full release process, if that's what you are asking.  You can apply it without uninstalling the previous version.

0 0
replied on October 13, 2017

Thank you for your time.  All is working perfectly!

0 0
SELECTED ANSWER
replied on October 13, 2017

I do get that same "Invalid Connection" error in Web Access 10.1, but this is fixed in 10.2.

0 0

Replies

replied on September 8, 2017

That's great!  For some reason, I thought LF had retired the ProcesLogin.aspx file.

Anthony

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.