Click here to Skip to main content
15,895,557 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: How to Declare a variable which is static and also global in vb Pin
RepliCrux18-Jun-07 0:59
RepliCrux18-Jun-07 0:59 
GeneralRe: How to Declare a variable which is static and also global in vb Pin
Hemant Garg18-Jun-07 1:02
Hemant Garg18-Jun-07 1:02 
QuestionRendered HTML output Pin
moon_stick18-Jun-07 0:35
moon_stick18-Jun-07 0:35 
AnswerRe: Rendered HTML output Pin
N a v a n e e t h18-Jun-07 0:46
N a v a n e e t h18-Jun-07 0:46 
AnswerRe: Rendered HTML output Pin
RichardGrimmer18-Jun-07 0:53
RichardGrimmer18-Jun-07 0:53 
GeneralRe: Rendered HTML output Pin
DavidNohejl18-Jun-07 1:19
DavidNohejl18-Jun-07 1:19 
AnswerRe: Rendered HTML output Pin
moon_stick18-Jun-07 3:20
moon_stick18-Jun-07 3:20 
QuestionSession Problems Pin
Russell Jones18-Jun-07 0:14
Russell Jones18-Jun-07 0:14 
I keep getting this error in an app that was working just before the weekend

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've added a pages tag with the sessionstate set to true and i've referenced the hhtp module for the sessionstatemodule. I still can't get rid of this error.

I tries to reproduce the error or the changes needed to web.config so i created a new web app and added the following code to the default page
<pre>
if (Session.IsNewSession)
{
Session.Add("hereitis", "value");
}
</pre>
this runs without errors. Thinking that VS must have made some critical change to the config file before i ran it i looked in web.config but it still has only a few lines that aren't comments and none of them are the ones referenced in the error i get in my proper project. This leads me to believe that my problem does not lie with the web.config at all but i don't have any idea what might be causing it.

Has anyone seen or resolved this problem before?

Thanks,

Russell
QuestionCoudl not get ListBox Value Pin
J Liang18-Jun-07 0:02
J Liang18-Jun-07 0:02 
AnswerRe: Coudl not get ListBox Value [modified] Pin
RepliCrux18-Jun-07 1:25
RepliCrux18-Jun-07 1:25 
GeneralRe: Coudl not get ListBox Value Pin
J Liang18-Jun-07 15:05
J Liang18-Jun-07 15:05 
AnswerRe: Coudl not get ListBox Value Pin
RepliCrux18-Jun-07 15:16
RepliCrux18-Jun-07 15:16 
GeneralRe: Coudl not get ListBox Value Pin
J Liang18-Jun-07 17:29
J Liang18-Jun-07 17:29 
GeneralRe: Coudl not get ListBox Value Pin
RepliCrux18-Jun-07 17:36
RepliCrux18-Jun-07 17:36 
GeneralRe: Coudl not get ListBox Value Pin
RepliCrux18-Jun-07 17:39
RepliCrux18-Jun-07 17:39 
GeneralRe: Coudl not get ListBox Value Pin
J Liang20-Jun-07 16:03
J Liang20-Jun-07 16:03 
Questiondialog box Pin
niki_nilu17-Jun-07 23:51
niki_nilu17-Jun-07 23:51 
AnswerRe: dialog box Pin
N a v a n e e t h17-Jun-07 23:56
N a v a n e e t h17-Jun-07 23:56 
GeneralRe: dialog box Pin
niki_nilu18-Jun-07 0:03
niki_nilu18-Jun-07 0:03 
GeneralRe: dialog box Pin
Revathij18-Jun-07 0:24
Revathij18-Jun-07 0:24 
GeneralRe: dialog box Pin
N a v a n e e t h18-Jun-07 0:27
N a v a n e e t h18-Jun-07 0:27 
GeneralRe: dialog box Pin
niki_nilu18-Jun-07 1:45
niki_nilu18-Jun-07 1:45 
GeneralRe: dialog box Pin
N a v a n e e t h18-Jun-07 17:49
N a v a n e e t h18-Jun-07 17:49 
QuestionRefreshing User Control Pin
wEb GuRu...17-Jun-07 23:19
wEb GuRu...17-Jun-07 23:19 
AnswerRe: Refreshing User Control Pin
N a v a n e e t h17-Jun-07 23:43
N a v a n e e t h17-Jun-07 23:43 

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.