Click here to Skip to main content
       

C#

 
GeneralRe: SaveFileDialog and OverwritePrompt PinmemberGenJerDan25-Jan-13 3:13 
AnswerRe: SaveFileDialog and OverwritePrompt Pinmembermicke.andersson28-Jan-13 2:44 
GeneralRe: SaveFileDialog and OverwritePrompt PinmemberGenJerDan28-Jan-13 3:10 
QuestionThread with Message Pump PinmemberRichard Andrew x6424-Jan-13 1:56 
AnswerRe: Thread with Message Pump PinmvpEddy Vluggen24-Jan-13 2:49 
AnswerRe: Thread with Message Pump PinmemberPaulo Zemek24-Jan-13 3:49 
AnswerRe: Thread with Message Pump PinmemberBobJanova24-Jan-13 4:22 
QuestionEnding session and back button after logout Pingroupraviwebwonders24-Jan-13 0:24 
Hi! How to end session after logging out? I am facing a problem that when clicking on logout session ends. After clicking on back button, previous page repeats again. This happens in all the pages of my project.
Here is the code for logout link..
 
protected void linklogout_Click(object sender, EventArgs e)
    {
        if (linklogout.Text == "Log Out")
        {
            Session["username"] = null;
            Session["userid"] = null;
            Session.Abandon();
            Response.Redirect("~/index.aspx");
        }
    }
 

Can any one help me?
AnswerRe: Ending session and back button after logout PinmemberSimon_Whale24-Jan-13 0:36 
GeneralRe: Ending session and back button after logout Pingroupsahavasiwebwonders24-Jan-13 0:41 
AnswerRe: Ending session and back button after logout PinmemberBobJanova24-Jan-13 1:28 
GeneralRe: Ending session and back button after logout Pingroupsahavasiwebwonders24-Jan-13 18:59 
QuestionTally Integration PinmemberAtul Ankush Bhabal23-Jan-13 22:38 
AnswerRe: Tally Integration PinprotectorPete O'Hanlon23-Jan-13 22:43 
QuestionHow check if a record exists before running the code to delete the record? PinmemberMember 964160223-Jan-13 22:37 
AnswerRe: How check if a record exists before running the code to delete the record? Pinmember d@nish 23-Jan-13 22:57 
AnswerRe: How check if a record exists before running the code to delete the record? PinmvpRichard MacCutchan23-Jan-13 23:01 
AnswerRe: How check if a record exists before running the code to delete the record? PinmvpEddy Vluggen24-Jan-13 0:43 
AnswerRe: How check if a record exists before running the code to delete the record? PinmemberV.24-Jan-13 1:57 
AnswerRe: How check if a record exists before running the code to delete the record? PinmemberPIEBALDconsult24-Jan-13 4:40 
AnswerRe: How check if a record exists before running the code to delete the record? Pinmemberpt140125-Jan-13 9:15 
Questionneed the project code in c# PinmemberMember 978198223-Jan-13 21:58 
GeneralRe: need the project code in c# PinmemberPIEBALDconsult23-Jan-13 22:01 
AnswerRe: need the project code in c# PinprotectorPete O'Hanlon23-Jan-13 22:18 
AnswerRe: need the project code in c# Pinmemberpt140125-Jan-13 9:16 

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

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


Advertise | Privacy | Mobile
Web02 | 2.8.141015.1 | Last Updated 20 Oct 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid