Mar 28, 2017; 13:51
Anibal Escobar
setting cookies on a file_stream page
Hi everyone, I'm on Lasso 8.5.6. I have a page that's used to download
a zip file. The code is essentially:
<?LassoScript
define_atend(
{
// do some cleanup }
);
cookie_set('downloading'='yes',-Domain='mydomain.com', -path='/',
-expires='1');
file_stream(-file=#zipfile, -type='application/zip',
-name='downloads.zip');
?>
Everything works except the cookie is not set. Is it possible to set
the cookie on a page like this? FYI, I want to set the cookie so that
the client can detect if the download has started. Thanks!
--
Anibal Escobar
styleexpo
601 W. 26th St., Ste. M254
New York, NY 10001
O: 646-502-8821
C: 646-468-8164
#############################################################
This message is sent to you because you are subscribed to
the mailing list Lasso Lasso@lists.lassosoft.com
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <Lasso-unsubscribe@lists.lassosoft.com>
Send administrative queries to <Lasso-request@lists.lassosoft.com>