
January 19th, 2004, 01:16 PM
|
|
Moderator
|
|
Join Date: Jun 2002
Location: Raleigh, NC
|
|
|
I think you're misunderstanding me. When I say you can pass the session's ID and Token in the URL, I don't mean passing the actual session DATA in the URL or Form. It works like this. CF has an identifier that is set on the users machine as a cookie. When the user requests a CF page that is using session variables, ColdFusion looks at the cookie. It reads the identifier out of the cookie and then looks in the CF server's memory. It finds the memory-resident session variables (arrays, etc.) that match up to the ID read from the user's cookie.
Now, instead of letting CF set a cookie on the user's browser to hold the ID, you can also pass it manually, like this:
http://mysite.com/index.cfm?#session.urltoken#
When this is executed, the variable session.urltoken is replaced by the user's id and token (something like "cfid=833737&cftoken=3984739743934").
When you do this, you are telling the CF server manually to associate the current user with that session identifier. So I think this would work even if jumping to another domain to do the SSL. The danger is that if a user emails such a link to someone else and that other user clicks on it, they may accidentally get the first user's session.
Regarding the CC number storage, you are really taking a risk by keeping the numbers. But if you think you have to, then every day (or even a few times a day) copy the CC numbers over to a database that is NOT accessible by the internet and then delete the numbers from the first database. Be very careful on this, you can indeed be sued if someone proves a lack of security on your part lead to card numbers being compromised.
|