Hi alll......


i am trying out a login form where in which i have multiple users... i have redirect each user to differnt pages.....

....but im stuck in the middle....... please help me out.....

<code>

page1

session["user"]=txtuser.text

page2

welcome text(A label which is used to specify the current user)

Thank u all in advance:


Nikichu

Just collect the session value and assign it label,the user redirection is based on any group?

if(session["user"].ToString() != "")
{
label lblname=session["user"].Tostriing();
}

Try with below sample code:

if(Session["User"]!=null)
lblName.Text=Session["User"].ToString();
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.