c# - use both InProc session and SQL server session in the same app -
my web application has 2 types of users: non-authenticated visitors , authenticated customers. i'd pages visitors see work inproc session and, user moves the login page, create new session works using sql server session mode.
is possible , if so, how implemented?
thanks suggestions.
you can have 1 sessionmode per application (virtual directory).
you can make 2 separate applications single-sign-on , user 1 application.
not 100% same, authenticated users visit public pages use inproc. if matters.
on other hand, sure worth effort @ all? can't use session data in multi-server + inproc scenario anyway (that may depend on ip setup). , storing (small amounts of) data in sqlserver shouldn't of problem.
Comments
Post a Comment