Welcome! Log In Create A New Profile

Advanced

How to deploy index static page and dynamic session page within same project

Posted by JOHN LOW 
Hi,

How to deploy for the webdev site where it has a static first page and dynamic session first page?
I would like the static page to run first, but I where it will call to the dynamic session page.

Regards,

JOHN LOW
not sure what the problem is....

Your static page is going to be the index.html or default.html of your site.

Now, without that static page, when deploying you would follow pcsoft instructions and create a STATIC HTML page with a redirect to your dynamic site in it.

so you basically need to do the same thing in YOUR static page, but only when the user clicks on something.

and you can do that by calling the same URL you would call in the regular redirection system from the browser code of any button/link in your static page, using

- either (if you want to diplay your dynamic page in an iframe of the static page an d hide the URL)
IFRM_Content..URL = your dynamic url
- or (if you want your dynamic site to replace the static one)
DynamicSiteDisplay(YourSite,...)
argus Wrote:
-------------------------------------------------------
> not sure what the problem is....
>
> Your static page is going to be the index.html or
> default.html of your site.
>
> Now, without that static page, when deploying you
> would follow pcsoft instructions and create a
> STATIC HTML page with a redirect to your dynamic
> site in it.
>
> so you basically need to do the same thing in YOUR
> static page, but only when the user clicks on
> something.
>
> and you can do that by calling the same URL you
> would call in the regular redirection system from
> the browser code of any button/link in your static
> page, using
>
> - either (if you want to diplay your dynamic page
> in an iframe of the static page an d hide the URL)
> IFRM_Content..URL = your dynamic url
> - or (if you want your dynamic site to replace the
> static one)
> DynamicSiteDisplay(YourSite,...)

Hi Argus

When i deploy dynamic webdev site, it will always run the first page in session mode ( even i have a first static page - home page).

I want the webdev site to always run the home page first instead of the session mode ( home page -> first page session mode)

Regards,

JOHN LOW
JOHN LOW Wrote:
>
> When i deploy dynamic webdev site, it will always
> run the first page in session mode ( even i have a
> first static page - home page).
>
> I want the webdev site to always run the home page
> first instead of the session mode ( home page ->
> first page session mode)
>
> Regards,
>
> JOHN LOW

Hi,

Anyone any idea how i can deploy the web app to always run the static home page first ?

Regards,

JOHN LOW
no... when you deploy a Dynamic site on a webdev server, the first page that is run is index.html

AND SOMEBODY (maybe its not you, so you don't know about it) has put in it the redirection code that starts the dynamic web site.

So check out your deployed directory and you will find either index.html or default.html or something similer, with the redirection code/url in it

Replace that page with YOUR static page and you are done...

as an example, here is the help page made by kalanda (webdev hosting company) to manage this redirection:
[www.kalanda.net]
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: