I am using MVC 2.0.
I have a small customer object - firstname, lastname, dateregistered.
My site - site A, receives this object, then needs to make a redirect request to another site - site b. Site b redirects/bounces that request back to my site a login page (we are using windows identity foundation). At site a's login page, the user enters their email and password and submits the login page. At this point I want to get my customer object information.
The whole process should only take a few seconds.
I want to persist my customer object (not in the database), whilst these redirects occur.
I am currently using HttpContext.Cache like this:
new TimeSpan(0, 10, 0),
My question is -
Is this safe? Is there a better way of doing it?