Click here to Skip to main content
15,901,853 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: page header-footer Pin
merapyar30-Jan-07 0:20
merapyar30-Jan-07 0:20 
GeneralRe: page header-footer Pin
Bradml30-Jan-07 0:22
Bradml30-Jan-07 0:22 
QuestionAdding TR after X rows Pin
brad_lucas29-Jan-07 21:48
brad_lucas29-Jan-07 21:48 
AnswerRe: Adding TR after X rows Pin
Vasudevan Deepak Kumar29-Jan-07 22:17
Vasudevan Deepak Kumar29-Jan-07 22:17 
GeneralRe: Adding TR after X rows Pin
brad_lucas29-Jan-07 22:54
brad_lucas29-Jan-07 22:54 
GeneralRe: Adding TR after X rows Pin
badgrs30-Jan-07 0:06
badgrs30-Jan-07 0:06 
GeneralRe: Adding TR after X rows Pin
brad_lucas30-Jan-07 1:05
brad_lucas30-Jan-07 1:05 
QuestionReading SharePoint User Information in ASP.NET Pin
A M SOMAN29-Jan-07 20:09
A M SOMAN29-Jan-07 20:09 
Hi,
I have a problem with reading the user information sent by SharePoint Portal link.
I have a SharePoint Server where we have designed a home page with links to in house applications. One of these links points to an ASP.NET web site application developed in ASP.NET 2003. I used the Navigation control present on the SharePoint Home Page (I believe this is an inbuilt webpart provided by SharePoint). On clicking of one menu item in this Navigation control, the ASP.NET web application opens in the same page below inside a web page webpart control. I want to display the logged in user;s ID with a message Welcome UserID on ASP.NET application's home page. This thing works for the very first time and shows the correct user name in the message. But when the user loggs into the SharePoint Portal with different UserID (by using "Sign in with different user link), then the changed UserID does not get reflected on the ASP.NET application's home page. It shows the old user id only.
I am using folloing code to read the user id on home page.

string strUser = this.Context.User.Identity.Name;
lblUserName.Text="Welcome " + strUser;

I also tried Request server collection variables like "LOGON_USER", "AUTH_USER", etc. but they didn't work.

How to get the correct user information on ASP.NET application's home page so that it will reflect the changed user id on sharepoint?

Thsnks in advance.



Anil
GeneralRe: Reading SharePoint User Information in ASP.NET Pin
A M SOMAN29-Jan-07 20:25
A M SOMAN29-Jan-07 20:25 
QuestionA question about two regular expression patterns, please help. Pin
howardjr29-Jan-07 10:30
howardjr29-Jan-07 10:30 
AnswerRe: A question about two regular expression patterns, please help. Pin
Guffa30-Jan-07 5:44
Guffa30-Jan-07 5:44 
GeneralRe: A question about two regular expression patterns, please help. Pin
howardjr31-Jan-07 9:26
howardjr31-Jan-07 9:26 
AnswerRe: A question about two regular expression patterns, please help. Pin
Christian Graus30-Jan-07 10:56
protectorChristian Graus30-Jan-07 10:56 
GeneralRe: A question about two regular expression patterns, please help. Pin
howardjr31-Jan-07 9:27
howardjr31-Jan-07 9:27 
QuestionCached page problem Pin
itsgeeky29-Jan-07 6:57
itsgeeky29-Jan-07 6:57 
AnswerRe: Cached page problem Pin
Bradml29-Jan-07 13:06
Bradml29-Jan-07 13:06 
GeneralRe: Cached page problem Pin
itsgeeky29-Jan-07 23:59
itsgeeky29-Jan-07 23:59 
GeneralRe: Cached page problem Pin
Bradml30-Jan-07 0:08
Bradml30-Jan-07 0:08 
GeneralRe: Cached page problem Pin
itsgeeky30-Jan-07 1:55
itsgeeky30-Jan-07 1:55 
GeneralRe: Cached page problem Pin
badgrs30-Jan-07 5:25
badgrs30-Jan-07 5:25 
GeneralRe: Cached page problem Pin
itsgeeky30-Jan-07 6:07
itsgeeky30-Jan-07 6:07 
GeneralRe: Cached page problem Pin
Bradml30-Jan-07 20:37
Bradml30-Jan-07 20:37 
Questiononclick load js file Pin
militiaware28-Jan-07 22:52
militiaware28-Jan-07 22:52 
AnswerRe: onclick load js file Pin
Bradml28-Jan-07 23:13
Bradml28-Jan-07 23:13 
AnswerRe: onclick load js file Pin
badgrs29-Jan-07 0:04
badgrs29-Jan-07 0:04 

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.