session disable

  • Thread starter Thread starter Sakinah
  • Start date Start date
S

Sakinah

i got this error when click on Login button in web form.

"Session state can only be used when enableSessionState is set to true,
either in a configuration file or in the Page directive "

in Line Session.Item("error") = "exception occured".
Need help.
 
my sessionstate in 'web.config' is:

<sessionState mode="InProc"
stateConnectionString="tcpip=127.0.0.1:42424" sqlConnectionString="data
source=127.0.0.1;Trusted_Connection=yes" cookieless="true"
timeout="20"/>

And the SharePoint services is not installed in the machine.
 
Back
Top