Tuesday, March 13, 2012

Session variables from nonsecure to secure servers

Hi,

I am working on a website that is adding ecommerce to it. This is a community site where members login and post, with the option of paying for extra services.

When I put the user to "upgrade" page, they are no longer logged in as they were previously. I need to have the user logged in so I know which account to upgrade.

Whats the standard method of doing this ?

Thanks alot
mike123Hi Mike,

You can use cookies to store the login name for user and read that cookie from your secure end.

HTH
That simple eh? Any other options ?

A site I am attempting to model after does it without the use of a cookie :S

Any idea how ?
how about this...

Encrypt the userid in querysting and pass it to your secure page.. where you can decrypt it.

HTH
Hi Longhorn2005,

Sounds like a great idea. Where can I find some example code on how to do that? Any ideas?

Thanks again,
mike123
Hi Mike,

you might wanna have a look at thispost

HTH

0 comments:

Post a Comment