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

How to get the arclen between two curve points in Maya? -

git svn - Unignore directories in git-svn (adding directories to a sparse checkout) -

C++ Linked List -