Click here to Skip to main content
15,916,189 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: How to open a popup window in menuitem in asp.net2.0 Pin
saurabh60mca6013-Aug-08 2:45
saurabh60mca6013-Aug-08 2:45 
QuestionNavigation in frameset Pin
nikhil123413-Aug-08 2:33
nikhil123413-Aug-08 2:33 
AnswerRe: Navigation in frameset Pin
nikhil123413-Aug-08 3:26
nikhil123413-Aug-08 3:26 
AnswerRe: Navigation in frameset Pin
Manas Bhardwaj13-Aug-08 4:12
professionalManas Bhardwaj13-Aug-08 4:12 
QuestionHow to stop Page being cached Pin
.NET- India 13-Aug-08 2:12
.NET- India 13-Aug-08 2:12 
AnswerRe: How to stop Page being cached Pin
SomeGuyThatIsMe13-Aug-08 2:20
SomeGuyThatIsMe13-Aug-08 2:20 
GeneralRe: How to stop Page being cached Pin
.NET- India 13-Aug-08 2:32
.NET- India 13-Aug-08 2:32 
GeneralRe: How to stop Page being cached Pin
SomeGuyThatIsMe13-Aug-08 2:42
SomeGuyThatIsMe13-Aug-08 2:42 
I use Response.Redirect instead of Server.Transfer..which seems to be a general consensus but the reason why escapes me at the moment. You dont want to put your session checking code in a !postback block. you want to check every time so that when the session expires you dont get Null reference exceptions if its used outside of a try catch. what you have should work for the first time a page loads, but wont if the user does anything while they're on that page. what happens if you get rid of the !Page.IsPostBack if statement, and run the Response lines and the if(Session["UserName"] != null on every page load?

Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.

GeneralRe: How to stop Page being cached Pin
.NET- India 13-Aug-08 3:02
.NET- India 13-Aug-08 3:02 
GeneralRe: How to stop Page being cached Pin
SomeGuyThatIsMe13-Aug-08 3:11
SomeGuyThatIsMe13-Aug-08 3:11 
GeneralRe: How to stop Page being cached Pin
.NET- India 13-Aug-08 3:25
.NET- India 13-Aug-08 3:25 
GeneralRe: How to stop Page being cached Pin
SomeGuyThatIsMe13-Aug-08 3:34
SomeGuyThatIsMe13-Aug-08 3:34 
AnswerRe: How to stop Page being cached Pin
darkcalin13-Aug-08 3:46
darkcalin13-Aug-08 3:46 
GeneralRe: How to stop Page being cached Pin
.NET- India 13-Aug-08 19:24
.NET- India 13-Aug-08 19:24 
QuestionIssue in Uploading files using FileInfo Pin
saini arun13-Aug-08 1:51
saini arun13-Aug-08 1:51 
AnswerRe: Issue in Uploading files using FileInfo Pin
Manas Bhardwaj13-Aug-08 2:10
professionalManas Bhardwaj13-Aug-08 2:10 
Questionbound database field Pin
UD(IA)13-Aug-08 1:28
UD(IA)13-Aug-08 1:28 
AnswerRe: Edited question Pin
Christian Graus13-Aug-08 2:35
protectorChristian Graus13-Aug-08 2:35 
GeneralRe: Edited question Pin
UD(IA)13-Aug-08 2:43
UD(IA)13-Aug-08 2:43 
Questionproviding the final link in PROJECT NAME ??? [modified] Pin
Karan_TN13-Aug-08 1:20
Karan_TN13-Aug-08 1:20 
AnswerRe: providing the final link in PROJECT NAME ??? Pin
Anand Desai13-Aug-08 1:41
Anand Desai13-Aug-08 1:41 
GeneralRe: providing the final link in PROJECT NAME ??? Pin
Karan_TN13-Aug-08 2:06
Karan_TN13-Aug-08 2:06 
GeneralRe: providing the final link in PROJECT NAME ??? Pin
Manas Bhardwaj13-Aug-08 2:13
professionalManas Bhardwaj13-Aug-08 2:13 
GeneralRe: providing the final link in PROJECT NAME ??? Pin
Karan_TN13-Aug-08 2:19
Karan_TN13-Aug-08 2:19 
GeneralRe: providing the final link in PROJECT NAME ??? Pin
eyeseetee13-Aug-08 2:28
eyeseetee13-Aug-08 2:28 

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.