if your regular domain is 

http://normal.mydomain.com

and your secure domain is 

http://secure.mydomain.com

Then those are two different domains hence two different sessions.  I 
personally have never had any luck with the setdomaincookies option in 
cfapplication, which I believe is supposed to allow you to bridge a gap like 
this.  For me it always did weird things in certain browsers.

You can eliminate the issue entirely by making your secure domain and your 
normal one the same, like so:

http://www.mydomain.com
https://www.mydomain.com

Then there is no session loss issue since the domains are the same.

You can fudge a fix by sending the key pair over in the url query string on the 
link that crosses from non secure to secure.  You'll need to do the same thing 
on the way back when they cross back over to normal from secure.

HtH,

[EMAIL PROTECTED]
Janitor, MSB Web Systems
http://mysecretbase.com


> Hello Everybody, 
> 
> I need your help solving this problem. Any help will be much 
> appreciated. I am working on a a shopping cart page that stores the 
> items ordered in a request scope variable. The usual stuff i.e you add 
> an item to a basket and view your basket where you check the total 
> price and postage options. 
> 
> The "proceed" button on this page sends the user to a secure site 
> (https). The problem I'm having is once I go from http to https, the 
> session will disappears and I get a Element is undefined in REQUEST 
> error. I also get an error when I try to dump the application and 
> session scope variables.
> 
> Can anybody tell me how to fix this problem? I have run out of ideas. 
> 
> 
> Best regards,
cfcoder

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:242171
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to