Click here to Skip to main content
15,918,742 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: JavaScript Function and Problem with Backspace Button Pin
NeverHeardOfMe10-Dec-10 23:02
NeverHeardOfMe10-Dec-10 23:02 
GeneralRe: JavaScript Function and Problem with Backspace Button Pin
AndyASPVB10-Dec-10 23:06
AndyASPVB10-Dec-10 23:06 
GeneralRe: JavaScript Function and Problem with Backspace Button Pin
NeverHeardOfMe10-Dec-10 23:17
NeverHeardOfMe10-Dec-10 23:17 
QuestionAvoid user saving pdf file Pin
SUDHAKAR PALLAM9-Dec-10 21:54
SUDHAKAR PALLAM9-Dec-10 21:54 
AnswerRe: Avoid user saving pdf file Pin
Pete O'Hanlon9-Dec-10 23:27
mvePete O'Hanlon9-Dec-10 23:27 
QuestionSelected Text in a TextBox with TextMode Multiline Pin
FJJCENTU9-Dec-10 4:50
FJJCENTU9-Dec-10 4:50 
AnswerRe: Selected Text in a TextBox with TextMode Multiline Pin
Sandeep Mewara9-Dec-10 5:48
mveSandeep Mewara9-Dec-10 5:48 
AnswerRe: Selected Text in a TextBox with TextMode Multiline Pin
Abhijit Jana9-Dec-10 5:56
professionalAbhijit Jana9-Dec-10 5:56 
QuestionUser search(ctrl+F) on asp.net page with multiple textboxes Pin
gbabu179-Dec-10 4:31
gbabu179-Dec-10 4:31 
AnswerRe: User search(ctrl+F) on asp.net page with multiple textboxes Pin
T M Gray9-Dec-10 9:55
T M Gray9-Dec-10 9:55 
QuestionPage can't be displayed! Pin
Jassim Rahma9-Dec-10 2:46
Jassim Rahma9-Dec-10 2:46 
AnswerRe: Page can't be displayed! Pin
Hiren solanki9-Dec-10 2:49
Hiren solanki9-Dec-10 2:49 
GeneralRe: Page can't be displayed! Pin
Jassim Rahma9-Dec-10 2:55
Jassim Rahma9-Dec-10 2:55 
AnswerRe: Page can't be displayed! Pin
Hiren solanki9-Dec-10 3:09
Hiren solanki9-Dec-10 3:09 
AnswerRe: Page can't be displayed! Pin
Vimalsoft(Pty) Ltd9-Dec-10 3:30
professionalVimalsoft(Pty) Ltd9-Dec-10 3:30 
GeneralRe: Page can't be displayed! Pin
Jassim Rahma9-Dec-10 3:39
Jassim Rahma9-Dec-10 3:39 
GeneralRe: Page can't be displayed! Pin
Vimalsoft(Pty) Ltd9-Dec-10 3:49
professionalVimalsoft(Pty) Ltd9-Dec-10 3:49 
AnswerRe: Page can't be displayed! Pin
Abhijit Jana9-Dec-10 5:04
professionalAbhijit Jana9-Dec-10 5:04 
jrahma wrote:
If I want to destroy a page from my website and display (Page Can't be displayed)! if user trued to browse after he sign out my web site using my sign out button.


Your question is not worded properly. But, as per your question, what I understood it, If user sign out from your application, you don't to revisit the page again and insted of that you want to show "Page Can't be displayed"

Use Session.Abandon() when user sign out from your application.

and check the Session Variable for null on the page_load in your page, if it's null, redirect to "can't displayed page"

as,
If(Session["UserName"] == null)
{
  Response.Redirect("PageNotDisplayed.aspx"); 
}
else
{
  // Do your staff.
}

Cheers !
Abhijit Jana | My Blog | @Twitter | Disclaimer

AnswerRe: Page can't be displayed! Pin
Sandeep Mewara9-Dec-10 5:43
mveSandeep Mewara9-Dec-10 5:43 
GeneralRe: Page can't be displayed! Pin
Abhijit Jana9-Dec-10 5:52
professionalAbhijit Jana9-Dec-10 5:52 
GeneralRe: Page can't be displayed! Pin
Sandeep Mewara9-Dec-10 5:55
mveSandeep Mewara9-Dec-10 5:55 
GeneralRe: Page can't be displayed! Pin
Abhijit Jana9-Dec-10 5:58
professionalAbhijit Jana9-Dec-10 5:58 
GeneralRe: Page can't be displayed! Pin
Sandeep Mewara9-Dec-10 6:03
mveSandeep Mewara9-Dec-10 6:03 
GeneralRe: Page can't be displayed! Pin
Abhijit Jana9-Dec-10 6:10
professionalAbhijit Jana9-Dec-10 6:10 
GeneralRe: Page can't be displayed! Pin
Sandeep Mewara9-Dec-10 6:27
mveSandeep Mewara9-Dec-10 6:27 

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.