Click here to Skip to main content
15,917,005 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Get client username Pin
Manas Bhardwaj4-Oct-09 8:39
professionalManas Bhardwaj4-Oct-09 8:39 
GeneralRe: Get client username Pin
_Madmatt4-Oct-09 8:46
_Madmatt4-Oct-09 8:46 
GeneralRe: Get client username Pin
Manas Bhardwaj4-Oct-09 8:53
professionalManas Bhardwaj4-Oct-09 8:53 
GeneralRe: Get client username Pin
_Madmatt4-Oct-09 8:56
_Madmatt4-Oct-09 8:56 
GeneralRe: Get client username Pin
Manas Bhardwaj4-Oct-09 9:05
professionalManas Bhardwaj4-Oct-09 9:05 
GeneralRe: Get client username Pin
_Madmatt4-Oct-09 9:14
_Madmatt4-Oct-09 9:14 
Questionabout media player Pin
leone4-Oct-09 6:08
leone4-Oct-09 6:08 
QuestionMoving from Session mode InProc to StateServer Pin
Steve van Niman4-Oct-09 5:45
Steve van Niman4-Oct-09 5:45 
This is so FRUSTRATING...

I was losing session information when embedding an iFrame inside a PHP site, so decided to switch from InProc mode of sessions to StateServer. Made/added the following lines to my web.config:

<br />
   <sessionState mode="StateServer" timeout="60" cookieless="AutoDetect" stateConnectionString="tcpip=localhost:42424"    /><br />
	<pages enableSessionState="true">  <br />
		<httpModules><br />
      <add name="Session" type="System.Web.SessionState.SessionStateModule" /><br />


and yet, the first time I touch a Session variable I get a:

Session state can only be used when enableSessionState is set to true, either in a configuration file or in the Page directive. Please also make sure that System.Web.SessionStateModule or a custom session state module is included in the <configuration>\<system.web>\<httpModules> section in the application configuration.

I am using Master and Pages and the Session is in the Master Page_Load code behind.

Any help is greatly appreciated.
AnswerRe: Moving from Session mode InProc to StateServer Pin
Abhijit Jana4-Oct-09 5:57
professionalAbhijit Jana4-Oct-09 5:57 
GeneralRe: Moving from Session mode InProc to StateServer Pin
Steve van Niman4-Oct-09 6:03
Steve van Niman4-Oct-09 6:03 
GeneralRe: Moving from Session mode InProc to StateServer Pin
Abhijit Jana4-Oct-09 6:08
professionalAbhijit Jana4-Oct-09 6:08 
GeneralRe: Moving from Session mode InProc to StateServer Pin
Steve van Niman4-Oct-09 6:09
Steve van Niman4-Oct-09 6:09 
AnswerRe: Moving from Session mode InProc to StateServer Pin
Steve van Niman4-Oct-09 12:17
Steve van Niman4-Oct-09 12:17 
QuestionFeedback Form Pin
kuduva4-Oct-09 0:08
kuduva4-Oct-09 0:08 
AnswerRe: Feedback Form Pin
Abhijit Jana4-Oct-09 0:36
professionalAbhijit Jana4-Oct-09 0:36 
GeneralRe: Feedback Form Pin
kuduva4-Oct-09 0:45
kuduva4-Oct-09 0:45 
GeneralRe: Feedback Form Pin
Abhijit Jana4-Oct-09 3:21
professionalAbhijit Jana4-Oct-09 3:21 
GeneralRe: Feedback Form Pin
kuduva4-Oct-09 4:19
kuduva4-Oct-09 4:19 
GeneralRe: Feedback Form Pin
Richard MacCutchan4-Oct-09 4:27
mveRichard MacCutchan4-Oct-09 4:27 
QuestionWhich one is better ASP or PHP? [modified] Pin
CoderForEver3-Oct-09 23:58
CoderForEver3-Oct-09 23:58 
AnswerRe: Which one is better ASP or PHP? Pin
sashidhar4-Oct-09 1:32
sashidhar4-Oct-09 1:32 
GeneralRe: Which one is better ASP or PHP? Pin
CoderForEver4-Oct-09 16:19
CoderForEver4-Oct-09 16:19 
GeneralRe: Which one is better ASP or PHP? Pin
sashidhar4-Oct-09 18:47
sashidhar4-Oct-09 18:47 
GeneralRe: Which one is better ASP or PHP? Pin
CoderForEver5-Oct-09 16:23
CoderForEver5-Oct-09 16:23 
GeneralRe: Which one is better ASP or PHP? Pin
sashidhar5-Oct-09 18:38
sashidhar5-Oct-09 18:38 

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.