javascript - Open a bootstrap modal from a controller after [Authorize] redirection -


i use asp.net mvc 4, , want know if it's possible open bootstrap modal actionresult after redirection due [authorize] attribute.
in web.config have :

<authentication mode="forms">     <forms loginurl="~/home/login"/> </authentication> 

my authentication form in bootstrap modal, in normal way use link open modal, in case of redirection due [authorize] attibute.

how can open modal authenticate user ?

thanks in advance.


Comments