Click here to Skip to main content
15,922,584 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Ajax slowing my search?? Pin
Dave Sexton12-Jul-07 11:26
Dave Sexton12-Jul-07 11:26 
GeneralRe: Ajax slowing my search?? Pin
Chris McGlothen12-Jul-07 13:01
Chris McGlothen12-Jul-07 13:01 
GeneralRe: Ajax slowing my search?? Pin
Dave Sexton12-Jul-07 22:12
Dave Sexton12-Jul-07 22:12 
GeneralRe: Ajax slowing my search?? Pin
Chris McGlothen13-Jul-07 4:32
Chris McGlothen13-Jul-07 4:32 
GeneralRe: Ajax slowing my search?? Pin
-Dr_X-13-Jul-07 12:00
-Dr_X-13-Jul-07 12:00 
Questionlogin and logout Pin
aditya.net12-Jul-07 5:38
aditya.net12-Jul-07 5:38 
AnswerRe: login and logout Pin
Christian Graus12-Jul-07 6:02
protectorChristian Graus12-Jul-07 6:02 
GeneralRe: login and logout Pin
aditya.net12-Jul-07 6:18
aditya.net12-Jul-07 6:18 
Hello Christian, Thanks for ur reply

yeah i know we have to store there names in session , what if they are 20,0000 users and when ever signup we will show him welcome name, logout . how the user control knows can u give me one sample code . ok this is my code its working but its showing only welcome and signout , when the user not register then we will show him signin and signup. when user login then we show him welcome user , logout link. when user click logout then pages refreshes then it redirect to login.aspx and from there we will show him again i am using asp.net 1.1 with c# and our database is oracle 10g.

i am sending my code what i have written in my header page , header is comman to all pages so i put three hyper links and one label here is my code

its working but i am getting one problem its not changing i am getting every page as welcome and logout . can u help me out

if((Session["Username"])!=null)
{
HyperLink1.Visible = true;
HyperLink2.Visible = true;
HyperLink3.Visible=false;
Label1.Visible=false;
}
else
{
HyperLink1.Visible=false;
HyperLink2.Visible=false;
HyperLink3.Visible=true;
Label1.Visible=true;
}
if((Session["Displayname"])!=null)
{
Label1.Text="Welcome" + Session["DisplayName"].ToString()+"!";
}
else
{
Label1.Text="Welcome to rv's";
}
Session.Timeout=1;
Session.Abandon(); this is my code i put this one in my header page its comman to all pages . so write the code here. i am using asp.net 1.1 in asp.net 1.1 formsauthentication.signout is not there . can u help me out how is it possible
GeneralRe: login and logout Pin
Christian Graus12-Jul-07 6:27
protectorChristian Graus12-Jul-07 6:27 
GeneralRe: login and logout Pin
aditya.net12-Jul-07 6:44
aditya.net12-Jul-07 6:44 
GeneralRe: login and logout Pin
Christian Graus12-Jul-07 6:52
protectorChristian Graus12-Jul-07 6:52 
GeneralRe: login and logout Pin
Christian Graus12-Jul-07 7:15
protectorChristian Graus12-Jul-07 7:15 
Questionlogin logout Pin
aditya.net12-Jul-07 4:54
aditya.net12-Jul-07 4:54 
AnswerRe: login logout Pin
_AK_12-Jul-07 19:17
_AK_12-Jul-07 19:17 
QuestionCrystal Report C# Pin
keroed_edmond12-Jul-07 4:42
keroed_edmond12-Jul-07 4:42 
AnswerRe: Crystal Report C# Pin
Paul Conrad12-Jul-07 17:47
professionalPaul Conrad12-Jul-07 17:47 
QuestionDropDownList remove blanks from string Pin
Nimua12-Jul-07 4:28
Nimua12-Jul-07 4:28 
AnswerRe: DropDownList remove blanks from string [modified] Pin
DarrollWalsh12-Jul-07 9:57
DarrollWalsh12-Jul-07 9:57 
GeneralRe: DropDownList remove blanks from string Pin
Pete O'Hanlon12-Jul-07 10:34
mvePete O'Hanlon12-Jul-07 10:34 
GeneralRe: DropDownList remove blanks from string Pin
Nimua12-Jul-07 20:04
Nimua12-Jul-07 20:04 
GeneralRe: DropDownList remove blanks from string Pin
Nimua12-Jul-07 20:05
Nimua12-Jul-07 20:05 
QuestionRe: DropDownList remove blanks from string Pin
Nimua17-Jul-07 21:35
Nimua17-Jul-07 21:35 
AnswerRe: DropDownList remove blanks from string Pin
Nimua18-Jul-07 22:30
Nimua18-Jul-07 22:30 
QuestionASP vs cold fusion Pin
LCI12-Jul-07 4:14
LCI12-Jul-07 4:14 
AnswerRe: ASP vs cold fusion Pin
Not Active12-Jul-07 4:30
mentorNot Active12-Jul-07 4:30 

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.