Quantcast

setting cookies on a file_stream page

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

setting cookies on a file_stream page

Anibal Escobar
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 [hidden email]
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Loading...