In general though it's not a recommended approach. You will have the overhead of a SAS session for every asset (html, css, js files etc) plus the challenge of writing code to deal with situations such as very wide lines of text, binary files (images), different encodings etc.
You would be far better off just using a web server to serve your web content, and calling your SAS services as needed using JS. If you don't have SAS 9 EBI, or SAS Viya, you could try out SASjs Server as an alternative: https://server.sasjs.io
The advantage of following the SASjs Server approach is that (so long as you use the SASjs framework) you will be able to easily migrate to Viya at a later date.
/Allan SAS Challenges - SASensei MacroCore library for app developers SAS networking events (BeLux, Germany, UK&I) Data Workflows, Data Contracts, Data Lineage, Drag & drop excel EUCs to SAS 9 & Viya - Data Controller DevOps and AppDev on SAS 9 / Viya / Base SAS - SASjs
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.