Click here to Skip to main content
15,891,943 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Image Click event hide/show TD column Pin
Perspx8-Aug-08 2:39
Perspx8-Aug-08 2:39 
Questionproblem with session variables Pin
nevincm8-Aug-08 1:28
nevincm8-Aug-08 1:28 
AnswerRe: problem with session variables Pin
janakinandhu8-Aug-08 2:04
janakinandhu8-Aug-08 2:04 
GeneralRe: problem with session variables Pin
nevincm8-Aug-08 3:03
nevincm8-Aug-08 3:03 
AnswerRe: problem with session variables Pin
Guffa8-Aug-08 3:47
Guffa8-Aug-08 3:47 
AnswerRe: problem with session variables Pin
NeverHeardOfMe8-Aug-08 4:48
NeverHeardOfMe8-Aug-08 4:48 
Question.gif image animation is not working when heavy javascript code runs. Pin
rahul21nov8-Aug-08 0:50
rahul21nov8-Aug-08 0:50 
Questionunable to log off Pin
pijush dubey8-Aug-08 0:07
pijush dubey8-Aug-08 0:07 
The event for button click on my firstpage.aspx:
session["username"]=TextBox1.Text;
Response.Redirect("~/second.aspx");


second.aspx

page load event:

if((string)Session["username"]==null)
Response.Redirect("~/firstpage.aspx");
else
Response.Write("Welcome");


log out button click event of second.aspx:

Session["username"]=null;
Session.Abandon();
Response.Redirect("~/firstpage.aspx");

Code is working and i am redirected to firstpage.aspx after clicking log out button but when i am clicking back button of browser i can also access second.aspx which i dont want.What should i do to restrict the access of the second page after logging out???
AnswerRe: unable to log off Pin
nagendrathecoder8-Aug-08 0:20
nagendrathecoder8-Aug-08 0:20 
AnswerRe: unable to log off Pin
eyeseetee8-Aug-08 0:27
eyeseetee8-Aug-08 0:27 
GeneralRe: unable to log off Pin
nagendrathecoder8-Aug-08 0:29
nagendrathecoder8-Aug-08 0:29 
GeneralRe: unable to log off Pin
Abhijit Jana8-Aug-08 2:13
professionalAbhijit Jana8-Aug-08 2:13 
AnswerRe: unable to log off Pin
Brij8-Aug-08 1:30
mentorBrij8-Aug-08 1:30 
GeneralRe: unable to log off Pin
pijush dubey9-Aug-08 2:00
pijush dubey9-Aug-08 2:00 
QuestionHow to show MsgPanel in update panel Pin
Mandeep19817-Aug-08 23:48
Mandeep19817-Aug-08 23:48 
AnswerRe: How to show MsgPanel in update panel Pin
Bardy858-Aug-08 0:15
Bardy858-Aug-08 0:15 
QuestionHow to use flash sqf files in an ASP.NET page Pin
mrkeivan7-Aug-08 23:33
mrkeivan7-Aug-08 23:33 
AnswerRe: How to use flash sqf files in an ASP.NET page Pin
Abhijit Jana7-Aug-08 23:48
professionalAbhijit Jana7-Aug-08 23:48 
GeneralRe: How to use flash sqf files in an ASP.NET page Pin
mrkeivan7-Aug-08 23:55
mrkeivan7-Aug-08 23:55 
AnswerRe: How to use flash sqf files in an ASP.NET page Pin
Abhijit Jana8-Aug-08 0:12
professionalAbhijit Jana8-Aug-08 0:12 
QuestionHow to put the cursor to next control automatically Pin
CrazyCoder267-Aug-08 23:21
CrazyCoder267-Aug-08 23:21 
AnswerRe: How to put the cursor to next control automatically Pin
mrkeivan7-Aug-08 23:35
mrkeivan7-Aug-08 23:35 
QuestionUser selectable page style / template Pin
munklefish7-Aug-08 23:11
munklefish7-Aug-08 23:11 
Questionhow to download this project from this website............... Pin
Shaik Haneef7-Aug-08 21:29
Shaik Haneef7-Aug-08 21:29 
AnswerRe: how to download this project from this website............... Pin
eyeseetee7-Aug-08 21:49
eyeseetee7-Aug-08 21:49 

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.