samsmithnz
Senior Contributor
I have an ASP.NET application where I login a 3rd party application, (its really just a layer between the UI and the DB) and that returns me a logon 'token', an encrypted string that I use for the rest of the 'session' for the user to use other features in the 3rd part application.
In the past in ASP land we would probably have thrown this string in a session variable, so that after a certain amount of time the variable expires and the user has to logon again.
But I've always been told to not use Session variables, (not scalable or something ?), so I was wondering what my options were in ASP.NET land!?
Remember that we have several pages and we want to know the token for all of them...
Comments??
In the past in ASP land we would probably have thrown this string in a session variable, so that after a certain amount of time the variable expires and the user has to logon again.
But I've always been told to not use Session variables, (not scalable or something ?), so I was wondering what my options were in ASP.NET land!?
Remember that we have several pages and we want to know the token for all of them...
Comments??