Click here to Skip to main content
15,924,507 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Log out problem!!! Pin
Sandeep Akhare15-Oct-07 19:43
Sandeep Akhare15-Oct-07 19:43 
GeneralRe: Log out problem!!! Pin
bug_aonz15-Oct-07 19:48
bug_aonz15-Oct-07 19:48 
GeneralRe: Log out problem!!! Pin
Sandeep Akhare15-Oct-07 19:53
Sandeep Akhare15-Oct-07 19:53 
GeneralRe: Log out problem!!! Pin
bug_aonz15-Oct-07 20:40
bug_aonz15-Oct-07 20:40 
GeneralRe: Log out problem!!! Pin
Sandeep Akhare15-Oct-07 20:57
Sandeep Akhare15-Oct-07 20:57 
GeneralRe: Log out problem!!! Pin
Sandeep Kumar15-Oct-07 19:57
Sandeep Kumar15-Oct-07 19:57 
GeneralRe: Log out problem!!! [modified] Pin
Sandeep Akhare15-Oct-07 20:00
Sandeep Akhare15-Oct-07 20:00 
GeneralRe: Log out problem!!! Pin
bug_aonz15-Oct-07 21:18
bug_aonz15-Oct-07 21:18 
OK.I've already done all Session variable checking for authentication to all of every .aspx pages(I don't use <authentication> of Web.config).

The point is that it works fine until i clicked log out link and cleared all Session i used and redirect to LogIn.aspx and then i type the url directly "http://localhost/default.aspx" to browser .The result is I still can acces this page althrough i've logged it out.

Next i try to check why Page_Load of default.aspx don't check authentication
So i beaked this line in Page_load
... Page_Load(....)
{
if(Session["Authen"]=="0"||Session["Authen"]==null)
   Response.Redirect("LogIn.aspx");
else
   //...

}

Then I test it, I log in then log out.Now the current page was redirect to LogIn.aspx.After that i type url of default.aspx to browser.I can access default.aspx as i still log in.It's not even enter the Page_Load function that i've breaked.Why? Is it about Session cache?
Questionweb-user web-form control Pin
Sonia Gupta15-Oct-07 19:05
Sonia Gupta15-Oct-07 19:05 
AnswerRe: web-user web-form control Pin
gratisaccount15-Oct-07 20:07
gratisaccount15-Oct-07 20:07 
QuestionHow to store Russian text in DB Pin
Deepak the Cool15-Oct-07 19:04
Deepak the Cool15-Oct-07 19:04 
AnswerRe: How to store Russian text in DB Pin
gratisaccount15-Oct-07 20:13
gratisaccount15-Oct-07 20:13 
AnswerRe: How to store Russian text in DB Pin
Sathesh Sakthivel15-Oct-07 20:22
Sathesh Sakthivel15-Oct-07 20:22 
QuestionHow to use Datacolumn Pin
jebin k15-Oct-07 18:50
jebin k15-Oct-07 18:50 
AnswerRe: How to use Datacolumn Pin
gratisaccount15-Oct-07 20:30
gratisaccount15-Oct-07 20:30 
GeneralRe: How to use Datacolumn Pin
jebin k16-Oct-07 22:36
jebin k16-Oct-07 22:36 
QuestionFile upload contorl in 2.0 Pin
kinnuP15-Oct-07 18:42
kinnuP15-Oct-07 18:42 
AnswerRe: File upload contorl in 2.0 Pin
kuwl_mark15-Oct-07 19:04
kuwl_mark15-Oct-07 19:04 
GeneralRe: File upload contorl in 2.0 Pin
kinnuP15-Oct-07 19:09
kinnuP15-Oct-07 19:09 
QuestionUse one datagrid in another datagrid(urgent!) Pin
Milind Panchal15-Oct-07 18:32
Milind Panchal15-Oct-07 18:32 
AnswerRe: Use one datagrid in another datagrid(urgent!) Pin
kuwl_mark15-Oct-07 19:07
kuwl_mark15-Oct-07 19:07 
AnswerRe: Use one datagrid in another datagrid(urgent!) Pin
gratisaccount15-Oct-07 19:10
gratisaccount15-Oct-07 19:10 
QuestionEncrypting and Decrypting Configuration Sections Pin
Clickok15-Oct-07 18:05
Clickok15-Oct-07 18:05 
QuestionWhere is the TreeNode Style property? Pin
azayas4815-Oct-07 16:09
azayas4815-Oct-07 16:09 
QuestionASP.NET Pin
joesolly15-Oct-07 13:09
joesolly15-Oct-07 13:09 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.