how to check if a user is internal

Copper Contributor

I have a website that my users have access to but the way they access depends on whether they are within the school or outside the school. Is there a way to check if they are in school in which case display the internal link and in all other cases display the external link?

2 Replies

Hi David

 

How is the link being presented and is the route to that page the same? I.e. do external and internal users navigate directly to the page or are external users taken a different way? If the latter then you could look at the referrer and determine which link to show based on that.

Thanks for the help

The only thing that changes is the port number so http://somepage.com becomes https://somepage.com:1234