Forum Discussion
What_Lies_Bene1
Nov 13, 2013Cirrostratus
Just set a variable and check for that first, for example;
when CLIENT_CONNECTED {
set firsttime 1
}
when HTTP_REQUEST {
if { ([HTTP::uri] starts_with "/context/first.jsp"} && ($firsttime equals 1) } {
set firsttime 0
HTTP::uri /context/login.jsp
pool pool_80
}
There's probably a better way but all I can think of right now. Not sure if it'll break if a second TCP connection is opened.