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
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
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.
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
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>
What kind of user/authentication are you using? Domain credentials, repository user, etc?
They are a repository user. So they have a standard username and password (not linked to a domain)
Your page works for me with my Web Access instance. I presume you have the actual repository name in place of "MyRepository"?
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?
Is there anything in the event viewer on the Web Access machine that seems related? What specific version of Web Access are you using?
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)
We are running:
Laserfiche Web Access10.1 (10.1.2.286)
Laserfiche Repository Access10.1.0.215
I do get that same "Invalid Connection" error in Web Access 10.1, but this is fixed in 10.2.
Thank you. I have downloaded the update. Is that a hot install update?
Anthony
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.
Thank you for your time. All is working perfectly!
I do get that same "Invalid Connection" error in Web Access 10.1, but this is fixed in 10.2.