evergreean43
Technical User
I have links on my CF 6.1 MX page on Windows Server but some people cant access the server the links are on because they dont have access to that server. But there are people that do have access to that server.
I would like to have a message that shows "Page not accessible to your ID" if the user doesnt have access to that server.
Here is what I think I can do but need alot of help:
I would like to have a message that shows "Page not accessible to your ID" if the user doesnt have access to that server.
Here is what I think I can do but need alot of help:
Code:
<cfexecute name = "C:\winnt\system32\ping.exe"
arguments="dnsNameOfServerIwantToPing"
>
</cfexecute>
<cfif not ??pingissuccessful??>
<cflocation url="CantAccessPage.cfm">
</cfif>