Forum Moderators: open
[edited by: tedster at 7:46 pm (utc) on Sep. 12, 2008]
In any case, is that what you mean by "convert to .html" - you changed the name?
Did you once have pages with scripting in them and you have now removed that scripting? or is it just a name change?
need to know how to display dynamic content without using cookies and ajax
Always an excellent idea to NOT build critical functions reliant on JS. But for something like this, it may be an easier method, as this doesn't sound like a "critical function". If the site works with JS disabled and this doesn't impede users, give it a shot.
I have converted my .asp pages to HTML pages.
Since you mentioned ASP, I am presuming you are on a Windows-based server. My usual recommendation for this is server-side includes (SSI,) but that's a little more difficult to set up in Windows (mostly because you have to get an administrator to allow SSI's on your domain, and getting the admin to do that is the difficult part, unless you're the admin.) SSI's do exactly what you want, this is what they are designed for, right tool for the job.
Alternatives to this would be -
- On the pages you need this, go back to .asp and let the server-side programming do it's job.
- Set an iFrame inside the page in that location and let an .asp script output the log in data to the iframe.
- Investigate if PHP (or perl, or any server-side language) is running on your server and a) see the first suggestion and make this a PHP page that includes your dynamic content, or b) use PHP or perl to output the data to the iFrame, as in the second suggestion.
i thought of using Iframe but again would the links open in the same window ..
If you want them to, yes. Set the target to _top.
<iframe src="login.asp" target="_top">