views:

48

answers:

2

hey..

if i m keeping userid in a session how can i view this userid on the master page(like welcome user1)..across all the pages...??my master is designed using tables and i hv to view it in one of the rows....

thanx...

A: 

Hey..got it..

i had to use <%=Session["userid"]%> in my .aspx master page after adding string user = "user1"; Session.Add("userid", user); in my very first apge i was just missing = in <% %>

thanx..anyway..

anay
A: 

How about using a LoginName control?

Ian Oxley