customErrors redirct page conflict with return url after session end in mvc5 -


in webconfig file have added this`

<sessionstate mode="inproc" timeout="2"  />` 

when session end have own authorizeattribute class , redirect login page while no session exist. when 404 redirect ~/invalid page working fine in development. after publish when session end redirect login page , url "http://localhost:8080/mss/invalid?aspxerrorpath=/mss/masterpanel/home" not right. here correct return url not invalid page url. need help


Comments

Popular posts from this blog

sql - can we replace full join with union of left and right join? why not? -

javascript - Parallax scrolling and fixed footer code causing width issues -

iOS: Performance of reloading UIImage(name:...) -