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

Question

Question

Web Access - Redirect from Login Module

asked on June 27, 2016

I have a Web Access Login Module written and working for Web Access, but I was wondering if it would be possible to redirect away from Web Access using the Login Module in either the Before or After Login methods.  I've tried using HttpContext.Current.Response.Transfer() and setting redirect headers, however neither of these options worked.  

Is there a supported way to redirect away from Web Access using a Login Module?

 

Thank you,

 

Michael Mathys

0 0

Replies

replied on June 27, 2016

If you mean to send the user to a url outside of Web Access, I would think that HttpContext.Current.Response.Redirect would be more likely to work than Transfer.

0 0
replied on June 29, 2016

Brian,

 

Yes, I do mean redirecting away from Web Access to a URL outside of Web Access.

 

This is working great in Web Access 9, but not on Web Access 10.  In Web Access 10, the page does not redirect and I get the standard "Authentication failed." message that comes from returning false in the OnBeforeLogin method.  Is there any way to accomplish this task in Web Access 10?

 

Thank you.

0 0
replied on June 29, 2016

In Web Access 10 the login is via a web service, so the redirect won't have a visible effect on the page.  I think we'd need a richer interface to allow your module to communicate this information back to the browser.

What kind of a page are you trying to send the users to?

0 0
replied on June 30, 2016

After entering credentials, but before logging in, I would like to send users to a usage agreement page that they would first need to accept.  After accepting the agreement, the user will be redirected back to web access and logged in.

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

Sign in to reply to this post.