Hmmm...I have an application where I set the session variables in http and 
then cflocation over to https and it works fine, as long as the domain is 
the same, http://www.yourdomain.com and https://www.yourdomain.com.

I think the problem may lie elsewhere -- make sure your application has the 
same name (in the cfapplication tag) on both http and https sides.  Also, 
you say you get "Element not defined in Request" - Request scope is only 
good for the requested page;  that scope won't hold variables across 
requests, so sounds like you might be confusing session scope with request 
scope.  You'll probably want to store your cart variables in the session 
scope rather than request scope, or better yet in a tempBasket table.

-- Josh




----- Original Message ----- 
From: "Sandra Clark" <[EMAIL PROTECTED]>
To: "CF-Talk" <cf-talk@houseoffusion.com>
Sent: Friday, June 02, 2006 3:35 PM
Subject: RE: Session Variables lost when moving from http to https - Please 
help!


> You go into a different session from http to https.  Best solution is 
> store
> the information in a temporary table in the database, send the id over the
> url and then retrieve from the database on the other side.
>
>
> Sandra Clark
> ==============================
> http://www.shayna.com
> Training in Cascading Style Sheets and Accessibility
> -----Original Message-----
> From: cf coder [mailto:[EMAIL PROTECTED]
> Sent: Friday, June 02, 2006 6:18 PM
> To: CF-Talk
> Subject: Session Variables lost when moving from http to https - Please
> help!
>
> 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:242174
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=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to