Click here to Skip to main content
15,868,024 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionhow to get previous page and details remain Pin
Cyberoxy31-Jul-11 9:50
Cyberoxy31-Jul-11 9:50 
AnswerRe: how to get previous page and details remain Pin
Not Active31-Jul-11 13:22
mentorNot Active31-Jul-11 13:22 
AnswerRe: how to get previous page and details remain Pin
Bernhard Hiller31-Jul-11 19:45
Bernhard Hiller31-Jul-11 19:45 
QuestionHow to replace image onmouseover Pin
Eddie198730-Jul-11 9:12
Eddie198730-Jul-11 9:12 
AnswerRe: How to replace image onmouseover Pin
Shahriar Iqbal Chowdhury/Galib31-Jul-11 4:16
professionalShahriar Iqbal Chowdhury/Galib31-Jul-11 4:16 
GeneralRe: How to replace image onmouseover Pin
Eddie19871-Aug-11 1:09
Eddie19871-Aug-11 1:09 
GeneralRe: How to replace image onmouseover Pin
Not Active1-Aug-11 2:08
mentorNot Active1-Aug-11 2:08 
QuestionHave Session in Global.asax File Pin
Member 322226430-Jul-11 6:29
Member 322226430-Jul-11 6:29 
Hi,
I want to have Session in Global.asax file.

I had declared in global.asax.cs

like

C#
void Application_Start(object sender, EventArgs e)
 {
     // Code that runs on application startup
    // string strUser = HttpContext.Current.User.ToString();
     string strUser = HttpContext.Current.Session["USER_NAME"].ToString();

 }


It says object reference not set.

I had tried by giving HttpContext.Current.User.ToString(),that also did not work out.

Also on Session End i want to end or Dispose the Session.

This Session variable must be accessible throughout the web application.

Please help.............

Thanks
S.Guhananth
AnswerRe: Have Session in Global.asax File Pin
Keith Barrow30-Jul-11 8:23
professionalKeith Barrow30-Jul-11 8:23 
Questionneed to display data on email Pin
CyberHeart 230-Jul-11 6:20
CyberHeart 230-Jul-11 6:20 
AnswerRe: need to display data on email Pin
Not Active30-Jul-11 13:01
mentorNot Active30-Jul-11 13:01 
QuestionRender ASP.Net code at run time Pin
Dilan200630-Jul-11 3:06
Dilan200630-Jul-11 3:06 
AnswerRe: Render ASP.Net code at run time Pin
Ali Al Omairi(Abu AlHassan)30-Jul-11 7:05
professionalAli Al Omairi(Abu AlHassan)30-Jul-11 7:05 
AnswerRe: Render ASP.Net code at run time Pin
Dilan200630-Jul-11 15:54
Dilan200630-Jul-11 15:54 
GeneralRe: Render ASP.Net code at run time Pin
Dilan200631-Jul-11 5:13
Dilan200631-Jul-11 5:13 
GeneralRe: Render ASP.Net code at run time Pin
Ali Al Omairi(Abu AlHassan)4-Aug-11 6:27
professionalAli Al Omairi(Abu AlHassan)4-Aug-11 6:27 
QuestionUnexpected function of validation controls and tab panel [modified] Pin
Dominick Marciano29-Jul-11 9:05
professionalDominick Marciano29-Jul-11 9:05 
Questiongoogle maps api Pin
loveleen9028-Jul-11 20:11
loveleen9028-Jul-11 20:11 
AnswerRe: google maps api Pin
Blue_Boy28-Jul-11 20:57
Blue_Boy28-Jul-11 20:57 
Questionexcel workbook problem Pin
Sneha Bisht28-Jul-11 19:14
Sneha Bisht28-Jul-11 19:14 
QuestionWeb application and web site to co-exist Pin
vanikanc28-Jul-11 4:14
vanikanc28-Jul-11 4:14 
AnswerRe: Web application and web site to co-exist Pin
Shameel28-Jul-11 4:23
professionalShameel28-Jul-11 4:23 
Questiontooltip Pin
apadana_198928-Jul-11 3:48
apadana_198928-Jul-11 3:48 
AnswerRe: tooltip Pin
Blue_Boy28-Jul-11 4:41
Blue_Boy28-Jul-11 4:41 
AnswerRe: tooltip Pin
Ali Al Omairi(Abu AlHassan)4-Aug-11 12:41
professionalAli Al Omairi(Abu AlHassan)4-Aug-11 12:41 

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.