Hi,
I have a JSP login form that creates a session after a successful login.
I want to make sure that the session is ended when a user either closes their browser, or leaves my site. (if they bookmark the site I want to force a login even if the session hasn't timed out)
The way that I want to do this is by looking at the referring page:
<%request.getHeader("referer");%> and comparing it to my Web URL
www.mySite.com/index.jsp.
All that I want to find out is that the 'www.mySite.com' exists in the 'request.getHeader("referer");'
I have seen the command 'FindNoCase(substring, string [, start ])' as a Cold Fusion function, but I can't find anything in JSP that does the same thing.
Any help would be greatly appreciated
Nick