Thursday, March 22, 2012

What is the best way to pass variables between 2 applications...

I have a regular website on my domain, but have the secure SSL part of my website on a shared domain given to me by my host.

When I call my web form on the shared domain, I need to pass some variables to that form (which is not sensitive).

There are 2 methods I can think of:

1. Send the variables using a query string.

2. Create a temporary table in a database to store the details, which can be retrieved by the secure web page.

I prefer method 2, but am not sure how to store the user id details, because when the browser redirects to the secure page on the shared SSL domain, I want to make sure that it is the same user, and not another user. What type of information would I need to store in the temporary table, which I could test for. Would the IP address be sufficient here. How is this normally done??

Many thanks for any help.



Please at least write "bump" so we know what you're trying to do with this post.
Cryptic posts often just get deleted.
- SomeNewKid

0 comments:

Post a Comment