Use method url when using localsession