vb Using InStr to determine page
If InStr(lcase(Request.ServerVariables("Script_Name")),"default.asp") = 0 Then
'do stuff
End IfChecks to see if the scriptname (url) contains default.asp - returns a number with the position, so if it isn't in the url then it will return 0.
Updated: Monday 4th October 2010, 23:32pm
There are 0 comments
Comments are currently closed.