"Dale Ellis" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > So I thought that in my ASP page i could use request.ServerVariables > ("HTTP_REFERER") to get where the request has come from but it comes > through as blank. I don't understand what it does when getURL is > called but it seems that this method isn't like clicking a link.
No, in fact almost no navigation with javascript in any lang populates that HTTP field. > The reason for all this is that i want to stop people being able to > type in the myASPPage.asp and be able to execute the code. Impossible I'm afraid (and it would've been impossible if you could've checked HTTP_REFERER, as it's trivial to send that along even in javascript.) Jim. ------------------------ Yahoo! Groups Sponsor --------------------~--> $4.98 domain names from Yahoo!. Register anything. http://us.click.yahoo.com/Q7_YsB/neXJAA/yQLSAA/1U_rlB/TM --------------------------------------------------------------------~-> ----- To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click "edit my membership" ---- Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ <*> 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/