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

Question

Question

Error thrown when User selects link to Restricted Form

asked on June 22, 2016 Show version history

When user receives a link to a Form, it requests the user to login. However, after a week, when the user selects the same link to the same form, it does not require the login and throws an access denied error.

How do we get around this issue to prevent this error from being thrown and for Forms to take the user to the login screen? 

I understand it may be a cache issue with the browser they are using.

Any recommendations?

 

0 0

Replies

replied on June 22, 2016 Show version history

One work around i could think of is sending link with email task instead of relying on user task notification.

Reason for this is that user task notification might send something like

localhost/forms/myform/Bp/6/something

which may / may not require user to login depending on browser cache.

instead you could always send same link which would always require user to login (test it beforehand)

localhost/forms/myform

would it help or did i misunderstand you?

0 0
replied on June 22, 2016

I will have to see what the URL is that user's are clicking on first. I will let you know if this works. 

0 0
replied on June 23, 2016

By default, after user login forms once, if they don't clear the cookie, they can auto login in next 14 days.

The link you sent to user is the link from publish page?  And the user are inherit submitter right from group?

If this is case, it may because the .LFROMSGROUP0 cookie is expired while the ".LFFORMSAUTH" is still valid, please modify the web.config under Forms folder to set slidingExpiration="false" to make the expiration for both cookies consistent.

<authentication mode="Forms">
       <forms loginUrl="~/Account/LogOn" timeout="20160" name=".LFFORMSAUTH" slidingExpiration="false"/>
     </authentication>

 

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

Sign in to reply to this post.