Writing to Staging
Is it possible to write to staging at all?
One of our developers has developed a site where he is caching/writing files to a folder.
Step 1. A user hits a page so the app looks in the \cache folder for the file.
Step 2. The files is not there so the app builds it dynamicly.
Step 3. The app then writes that file to the \cache folder
Step 4. Another user hits the same page so the app looks in the \cache folder for the file.
Step 5. The file has been cached in the \cache folder so the app just displays it.
The app is bombing becaus it can't write to the \cache folder in staging.
Any way around this?
5.5.2sp2 WIN2K
The Professor-
One of our developers has developed a site where he is caching/writing files to a folder.
Step 1. A user hits a page so the app looks in the \cache folder for the file.
Step 2. The files is not there so the app builds it dynamicly.
Step 3. The app then writes that file to the \cache folder
Step 4. Another user hits the same page so the app looks in the \cache folder for the file.
Step 5. The file has been cached in the \cache folder so the app just displays it.
The app is bombing becaus it can't write to the \cache folder in staging.
Any way around this?
5.5.2sp2 WIN2K
The Professor-
0
Comments
-
If the STAGING area was not a read-only area, it would kind of defeat the purpose. Why would you even want to do this? Why not write into a workarea then do a submit?
Dave Smith
Sr. Software Engineer
Nike, Inc.
(503) 671-4238
DavidH.Smith@nike.com0 -
I was trying not to change the functionality of the site.
This is part of how the site/app works. It would need to do this for testing/QA purposes
The Professor-0 -
Could the cache directory be a link to a writable directory? I am not sure if/how TeamSite supports this or if it would work with your environment (not sure what would happen to this thing on submit/deploy). On unix I think ln would be the command, on NT you could try http://www.sysinternals.com/ntw2k/source/misc.shtml#junction.0
Categories
- All Categories
- 107 Developer Announcements
- 53 Articles
- 104 General Questions
- 141 IM Services
- 43 OpenText Hackathon
- 32 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 898 Cloud Fax and Notifications
- 76 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 118 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
TeamSite Developer Resources
If you are interested in gaining full access to the content, you can register for a My Support account here.
- Docker Automation
- LiveSite Content Services (LSCS) REST API
- Single Page Application (SPA) Modules
- TeamSite Add-ons
If you are interested in gaining full access to the content, you can register for a My Support account here.