Manager.FromNetworkServer
Manager.FromNetworkServer
The FromNetworkServer property indicates whether a connection is coming back from a Microsoft .NET Passport server (Login, Update, or Registration) and whether the .NET Passport data contained on the query string is valid.
Syntax
Property Manager.FromNetworkServer As Boolean
Property value
The FromNetworkServer is a Boolean value. The value of FromNetworkServer is True if a connection is coming back from the .NET Passport server and the data contained on the query string is valid; otherwise, the value of FromNetworkServer is False.
Example
The following Microsoft Visual Basic Scripting Edition (VBScript) code snippet uses the FromNetworkServer property to display a message to the user.
... 'Create a Passport Object Set oMgr = Server.CreateObject("Passport.Manager.1") If oMgr.FromNetworkServer Then Response.Write ("<br>You have just returned from a network server.") Else Response.Write ("<br>You have just returned from a location other than a network server.") End If ...
Remarks
The FromNetworkServer property is read-only. A True value indicates the user has just returned from a .NET Passport network server. A False value indicates the user has come from a location other than a .NET Passport network server.
See Also