Search the Community
Showing results for tags 'dynamic creation of URLs'.
Found 1 result
Hello, first post here at W3Schools. I made an older ASP project for tracking jobs at work. Part of the ASP app saves specific job details to a MS access database table. When the job is first created in the DB, one job (root) folder with two subfolders are created on the server at that same time. serverjobs11452 serverjobs1145211452 PHOTOS serverjobs1145211452 RESEARCH set foldername=fso.CreateFolder(newpath) set foldername=fso.CreateFolder(newpath & "" & strJobFolderNumber & " PHOTOS") set foldername=fso.CreateFolder(newpath & "" & strJobFolderNumber & " RESEARCH") The structure of the job folders on the server is such that only the first time a job is created the root folder and 2 subfolders are created in the newly created root job folder (eg. 11452). Subsequent jobs with the same root job number (eg. root 11452 then later 11452-2) do not trigger the creation of an additional job (root) folder or subfolders within the job root folder. Another part of the application supports a job management page for tracking job progress as they move through the business process. The job management page is accessed with a link in one ASP page to another ASP page (passing a value to access the DB and build the page) that is created server side and returned in a new browser window. format of the link for a typical job management ASP page for jobs 11452 and 11452-2: http://server/jobs/JobMgmtResponse.asp?hdnJobNumber=11452&submit=GO http://server/jobs/JobMgmtResponse.asp?hdnJobNumber=11452-2&submit=GO How would I do this: I would like to create and place a link (shortcut?) to the job management ASP page, on the server, in the job number root folder (eg. serverjobs11452) for each job saved to the DB with the same root job number. These would be created for the first job (eg. 11452) and subsequent jobs (eg. 11452-2, 11452-C) as jobs are added to the DB Each job with the same root job number saved in the DB needs to have a link (shortcut) to the job management ASP page that can be directly accessed when viewing any particular job's root directory (eg.serverjobs11452) on the server and returned to the requesting browser. This link needs to be saved on the server in the root job folder. I've done research into this and cannot find a way to format a link or shortcut to the job's management page dynamically with ASP as a job is added to the DB then save it to the job root directory. Please give me a hand with this. I'm not sure it can be done or maybe I'm not approaching it from the right perspective. Thanks