zsharp
zsharp

Reputation: 13756

MVC session state can i disable in IIS?

In IIS setting may I disable Session state without issue?

Upvotes: 1

Views: 209

Answers (2)

griegs
griegs

Reputation: 22760

@zsharp, i don't believe mvc is doing anything with session no so there should be no reason why you can't simply turn it off.

The question i have is if you're not using it do you need to turn it off in the first place?

even if someone were to inject something into the session, if you're not using it then can it hurt?

I guess what i'm asking is there are particular reason why you want to switch it off?

Upvotes: 1

Matti Virkkunen
Matti Virkkunen

Reputation: 65136

Only if you're not using it.

Upvotes: 6

Related Questions