.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Home >> Forum >> ASP.Net >> Post New QuestionBookmark and Share Subscribe to Forum

How To Redirect To Login Form?

Posted By: Mallikarjuna Chigicherla     Posted Date: August 04, 2010    Points:2   Category :ASP.Net
How to redirect to Login Form After default session time Expires.please provide sample code ?

Thanks in Advance

Author: Ramesh durai          Accepted Answer   
Posted Date: August 04, 2010     Points: 10   

after session expires when we click any object on that page it automatically redirect to login page.

add below code in page load event.

if(session("user") != "")

Ramesh durai

Post Reply

You must Sign In To post reply
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend