title: Use session inside src/groovy
body: <p>I want to set a value in session inside a function A() in src/groovy class and use that value inside function B() in the same src/groovy class. Is that possible? I cannot pass the value between functions since they are overridden. I referenced this <a href="http://robertbjarum.blogspot.com/2008/10/accessing-session-httpsession-from.html" rel="nofollow">link</a> but did not quite understand the implementation. Thanks in advance.
  Edit: Here function A is visit function of crawler4j and function B is handlePageStatusCode()</p>