Forum OpenACS Q&A: Response to More ecommerce bugs (solutions included)

Collapse
Posted by Gaizka Villate on
Dammit!

Now i've post the code i was testing.

Instead of if { ![info exists user_session_id] } { it should read:

if { $user_session_id == 0 } {
    if { [info exists offer_code] && [string length $offer_code] <= 20 } {
        ad_return_complaint 1 "<li> You need to have cookies turned on in order to have special ..."
        return
    }
} 

This is triple-tested. So it's correct now. I'm really sorry (again). I think i should get some sleep and stay away from the forums for a while 😊