469,347 Members | 1,864 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,347 developers. It's quick & easy.

Different header for different login

23
Hi,

I have two pages. First page is login.aspx,second is deatils.aspx.
When i enter different credentials in loginpage i need to get different headers in details.aspx page.
For example if i enter login id and password as stud and stud i need to get one header in details.aspx and if i enter as emp and emp i need to get different header in the same page details.aspx.

Plz suggest me how to achieve this.

Regards,
nussu
Feb 23 '08 #1
1 896
nateraaaa
663 Expert 512MB
Hi,

I have two pages. First page is login.aspx,second is deatils.aspx.
When i enter different credentials in loginpage i need to get different headers in details.aspx page.
For example if i enter login id and password as stud and stud i need to get one header in details.aspx and if i enter as emp and emp i need to get different header in the same page details.aspx.

Plz suggest me how to achieve this.

Regards,
nussu
You will need to pass a session value or a querystring value to the details.aspx page. In the page_load event of the details page you will want to check the value of the session variable or the querystring (whichever you decide to use). Once you identify the value simply set the header that needs to be shown on the details page.

Nathan
Feb 24 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

1 post views Thread by Nick Whitelegg | last post: by
6 posts views Thread by John | last post: by
11 posts views Thread by Peter Wu | last post: by
reply views Thread by IT Drone | last post: by
1 post views Thread by CARIGAR | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.