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

php - How to add and update images or image url in Volusion using Volusion API -

javascript - IE9 error '$'is not defined -