Sherif Elshahat
Sherif Elshahat

Reputation: 47

How can Use Session For all My different ASP.NET MVC Projects

I have Case which my ASP.NET MVC Projects separated in single project. How can use one session to Authorize all project Users ?

What i do Now is Creating base Controller & Validate on Session On ActionExcuting Method but when navigate to another Project Session is gone.

Hint i dont need Areas in Projects

2- Cookie is not suitable for me

Thanks in advance.

Upvotes: 1

Views: 290

Answers (1)

RedgoodBreaker
RedgoodBreaker

Reputation: 310

first option is session state in SQL server

second option make use of Session State Server.

both options may require some hacks to work. there are many questions and answers on stackoverflow about this.

Upvotes: 1

Related Questions