Click here to Skip to main content
15,867,704 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: image button in placeholderr Pin
kunjumonu27-Mar-10 23:52
kunjumonu27-Mar-10 23:52 
QuestionTool For monitor all kinds of things on the web server. Pin
Samarjeet Singh@india26-Mar-10 23:18
Samarjeet Singh@india26-Mar-10 23:18 
AnswerRe: Tool For monitor all kinds of things on the web server. Pin
Arindam Tewary26-Mar-10 23:28
professionalArindam Tewary26-Mar-10 23:28 
GeneralRe: Tool For monitor all kinds of things on the web server. Pin
Samarjeet Singh@india31-Mar-10 4:09
Samarjeet Singh@india31-Mar-10 4:09 
Questionuser should not login again if he is loggedin once during same browser [modified] Pin
vikas shukla26-Mar-10 22:52
vikas shukla26-Mar-10 22:52 
AnswerRe: user should not login again if he is loggedin once during same browser Pin
Arindam Tewary26-Mar-10 23:19
professionalArindam Tewary26-Mar-10 23:19 
AnswerRe: user should not login again if he is loggedin once during same browser Pin
Farraj27-Mar-10 9:13
Farraj27-Mar-10 9:13 
AnswerRe: user should not login again if he is loggedin once during same browser Pin
Member 450194029-Mar-10 5:07
Member 450194029-Mar-10 5:07 
Session variables are not shared from window to window like that.
If using forms authentication, this is what you are looking for.
if (this.User.Identity.Name == "Admin")
{
  Response.Redirect("Admin/AdminHome.aspx", false);
}



Normally you would do this the other way around. If the user tried to access AdminHome without being logged in, send them to the login and bounce them back from there if successful login.
GeneralRe: user should not login again if he is loggedin once during same browser Pin
vikas shukla29-Mar-10 19:48
vikas shukla29-Mar-10 19:48 
AnswerRe: user should not login again if he is loggedin once during same browser Pin
Member 450194030-Mar-10 2:21
Member 450194030-Mar-10 2:21 
QuestionTextBox in Repeater Pin
m@dhu26-Mar-10 21:20
m@dhu26-Mar-10 21:20 
AnswerRe: TextBox in Repeater Pin
Arindam Tewary26-Mar-10 23:11
professionalArindam Tewary26-Mar-10 23:11 
QuestionProgrammatically Update SqlDataSource Pin
azim1126-Mar-10 8:40
azim1126-Mar-10 8:40 
AnswerRe: Programmatically Update SqlDataSource Pin
laziale26-Mar-10 17:17
laziale26-Mar-10 17:17 
Questionusing eval and databind in html part of file Pin
laziale26-Mar-10 8:00
laziale26-Mar-10 8:00 
AnswerRe: using eval and databind in html part of file Pin
Brij26-Mar-10 8:42
mentorBrij26-Mar-10 8:42 
AnswerRe: using eval and databind in html part of file Pin
T M Gray26-Mar-10 11:55
T M Gray26-Mar-10 11:55 
QuestionC# ActiveX & javascript Pin
Mohammad A Gdeisat26-Mar-10 7:31
Mohammad A Gdeisat26-Mar-10 7:31 
AnswerRepost Pin
Not Active26-Mar-10 7:49
mentorNot Active26-Mar-10 7:49 
GeneralRe: Repost Pin
Sandeep Mewara26-Mar-10 8:26
mveSandeep Mewara26-Mar-10 8:26 
QuestionModal forms in VB.Net Pin
Lonnie Raffray26-Mar-10 7:25
Lonnie Raffray26-Mar-10 7:25 
AnswerRe: Modal forms in VB.Net Pin
PSK_28-Mar-10 17:19
PSK_28-Mar-10 17:19 
QuestionBlank page problem with Web Parts Pin
mnemonic6926-Mar-10 1:23
mnemonic6926-Mar-10 1:23 
Questiondatepicker Pin
test-0926-Mar-10 0:42
test-0926-Mar-10 0:42 
AnswerRe: datepicker Pin
Sneha Bisht26-Mar-10 0:59
Sneha Bisht26-Mar-10 0:59 

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.