General information
Category:
Coding, syntax and commands
Hi Viv.
I checked and Session State is enabled.
I have been able to get on site and the sitution now is, if I run the web app from their site (via Internet explorer) it works fine but if I try to get into it from a pc outside, I get an error on the line of code referring to the session variable.
It sounds to me like a security or rights issue. Aret there any setting which might block session variable ?
Regards,
Gerard
>Hi,
>
>My ASP.NET's a bit rusty but:
>One thing to check is whether Session State is enabled on the problem web site. In IIS open Properties/Home Directory; click Configuration button in Application Settings; select 'App Options' tab and make sure 'Enable Session State' is checked.
>
>HTH,
>Viv
>
>
>>Hi Kevin,Viv Thanks for your replies
>>
>>Why then dos it work fine on my development machine ?, and no error
>>comes up. If it is'nt defined , then would this not also happen on my development machine also.
>>
>>I thought that maybe it has something to do with session variable not being allowed on the production machine...do you know if there are any such setings ?
>>
>>Regards,
>>Gerard
>>
>>
>>>My guess is that your session variable isn't defined (or is null)
>>>
>>>
>>>
>>>
>>>Kevin
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only