Session object question

  • Thread starter Thread starter R.A.
  • Start date Start date
R

R.A.

Hi

If the web site I have keeps session information,what happens to the session
objects if I am redirecting to another web site? After I redirect the user
to a different web site the user after completing his payment gets
redirected back to my web site, can I use the session objet at this point -
Will they have the information I saved in them before I have redirected the
user to the payment web site?

Thanks
 
Don't count on it.

It would be better before your client leaves the site, to store their data
in a database, particularly where money is involved.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
I get paid good money to
solve puzzles for a living
 
The session variables will stay in memory on the server as long as the
session doesn't expire (the timeout period isn't reached) and the user has
returned to your site using the same web browser instance that they started
the session with. When they return from the payment site, the session
variables will contain the same information as when they left.

Kevin has a point, though, about storing information about a transaction in
a database just in case their browser crashes or they don't return before the
session expires.
 
Back
Top