P
|
procheck 4/4/2010 |
Hi I am new to asp runner, I am only using a demo, but I would like to konw if it will be possible to embed html web pages into asprunner pages? This might not be clear so I will give an example below Using ASPrunner I will create a login page, after the user logs in there will be a normal html page that i created using other software with whatever content, and then there will not only be links to other html pages, but also some links to different tables/database pages/reports/ charts that were made with asprunner. I konw I could do it the other way around were i just have an html website that does not need any login, and then when the user clicks on a link to the database they need to log in, however i dont want this as its annoying to have to login each time a certain database application. I am also sure its possible to display a nice website using ASPrunner/PHPrunner however I think its easier to get relay nice looking webpages using other webdesign software like Dreamweaver since i already have one etc.. Thanks for any help
|
![]() |
Sergey Kornilov admin 4/4/2010 |
As far as I understand you are looking for a way to present user with your own custom menu page. To do so you can use AfterSuccessfulLogin event and the following code: header("Location: mymenupage.html"); |
T
|
tropnevad author 4/8/2010 |
As far as I understand you are looking for a way to present user with your own custom menu page. To do so you can use AfterSuccessfulLogin event and the following code: header("Location: mymenupage.html");
|
![]() |
Sergey Kornilov admin 4/8/2010 |
HTML pages cannot be password protected. If you need to protect all pages you can have better luck modifying menu page in Visual Editor. |
C
|
chaintm 4/8/2010 |
HTML pages cannot be password protected. If you need to protect all pages you can have better luck modifying menu page in Visual Editor.
|
T
|
tropnevad author 4/13/2010 |
Thanks for the help, I was hoping there was a way to simply put a bunch static pages within my php/asprunner website after the user has logged in but i guess this is not realy possible. |
![]() |
HJB 4/13/2010 |
quote excerpt ex http://www.asprunner.com/forums/index.php?showtopic=5275 |
T
|
tropnevad author 4/14/2010 |
quote excerpt ex http://www.asprunner.com/forums/index.php?showtopic=5275 You cannot protect HTML page. Rename your page to index2.php and add the following code snippet in the beginning of the page: <?php if(!@$_SESSION["UserID"]) { $_SESSION["MyURL"]=$_SERVER["SCRIPT_NAME"]."?".$_SERVER["QUERY_STRING"]; header("Location: login.php?message=expired"); return; } ?>
|
A
|
acpan 4/14/2010 |
Hi, I need the same solution. I tried using the solution mentioned but |
A
|
acpan 4/16/2010 |
Any advice, Sergey and Jane ? |
J
|
Jane 4/23/2010 |
It's difficult to tell you what's happening without seeing actual files. |
J
|
Jepsen 4/24/2010 |
<?php
<?php |
![]() |
HJB 4/24/2010 |
Morten, |
A
|
acpan 4/25/2010 |
Morten, |