Stephen, Your intuition is correct. Intranet users will be using an internal IP scheme like 10.0.0.7 or something to that effect. Howver you might have multiple internal IP ranges so it's best to confer with you IS folks and find out what those rangers are then use the Server Variables available from IIS to determine if the user requesting the page is internal or external. Regards, Shannon
'Psuedo Example Code: 'List of Server Variables 'http://www.asp101.com/samples/servvars.asp 'Parse the string to get the beginning Dim strIP as String Dim AddPre as Integer Dim arrIP as Array Dim IsTernal as Boolean strIP= Request.ServerVariables("REMOTE_ADDR") arrIP = Split(strIP,".") Select Case arrIP(0) case 10 IsInternal = True Case 67 IsInternal = True End Select P.S. This is just psuedo I hope it helps! --- Stephen Russell <[EMAIL PROTECTED]> wrote: > I have an intranet site running on the corporate > backbone. I was just > asked to consider taking a small part of the app > <part lookup, > documentation and identification> and allow that to > the world. > > My initial Q is how do I know where in the world > your from? We have > parts that are regionalized and I have to know what > to potentially > present to everyone. > > I was going to put that initial functionality > through a login page or > through a "Start" page. How do I determine that > your coming in from the > outside vs. your logged into our network? Will it > be the IP address r > something else? > > TIA > > Stephen Russell > S.R. & Associates > Memphis, TN 38115 > > 901.246-0159 > > __________________________________ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail ------------------------ Yahoo! Groups Sponsor --------------------~--> Yahoo! Domains - Claim yours for only $14.70 http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/saFolB/TM --------------------------------------------------------------------~-> Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
