Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

secure template cannot see session variable..

Status
Not open for further replies.

leadman

Programmer
Joined
Jun 11, 2001
Messages
177
Location
US
I just put the checkout pages of my cart onto a secure server " and all of a sudden i'm getting this error (it works fine if not secure):

Error resolving parameter SESSION.CART

The session variable CART does not exist. The cause of this error is very likely one of the following things:

The name of the session variable has been misspelled.
The session variable has not yet been created.
The session variable has timed out.

The error occurred while evaluating the expression:

"#session.cart#"

Anyone know why this is happening?
 
The Session variable typically uses a cookie to store the information. Cookies are associated with domains and therefore before going to the checkout, the cookie would've been "
Code:
www....
", but now the checkout Session looking for the cookie "
Code:
secure.www....
" and will not be able to find it because it doesn't exist. That's my guess to your problem. - tleish
 
do you know of a good way to get around this problem? How about if i dont enable cookies - wont the session variable then be set in the server ram?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top