Click here to Skip to main content
16,011,757 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
SQL
in mvc if i copy url and opened in other browser it should br redirected to login page how to do that
See more: MVC
Posted

1 solution

Hi Sailaja,

You should implement session management to do that.
You could refer these links for your requirement
http://stackoverflow.com/questions/19181085/session-management-in-mvc[^] and http://forums.asp.net/t/1896678.aspx[^].
Hope this helps you a bit.

Regards,
RK
 
Share this answer
 
Comments
sailaja12345672 28-Dec-13 5:29am    
i tried many times but it is not getting control point not went to base controller can u explin that flow please
♥…ЯҠ…♥ 28-Dec-13 5:34am    
Without code how do you expect me to assist you? Check session values in master view, if its null then redirect to login page.
sailaja12345672 28-Dec-13 5:36am    
im using mvc application i checked in base controller but while putting break point in that it not went to base controller
sailaja12345672 28-Dec-13 5:39am    
im trying from so many days it isnot getting can u pls help me in this

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900