This topic is locked

Menu page

3/8/2006 11:26:09 AM
ASPRunnerPro General questions
E
ebolisa author

Hi,

I've questions regarding the menu page.

  1. I use the 'After successful login' event to trigger a news.htm page. Then I use a button to bring the user to the menu page. I noticed that if I type directly http://www.mydomain.com/db/news.htm the news page is displayed without any restrictions. How can I hide news.htm behind the login page?
  2. How can I change the look of the menu page? I would like to hide the standard tables' names (dbo.orders) and use in their place a custom made name, say...ORDERS.

    TIA

    Emilio

Sergey Kornilov admin 3/8/2006

Emilio,

  1. Rename news.htm to news.asp and add the following code snippet in the beginning:

<%

If Session("UserID")="" Then

Response.Redirect "login.asp"

End If

%>


2. Proceed toDatasource tables tab in ASPRunnerPro and modify Captions for those tables. Caption will appear on menu and other pages.
For more advanced modifications use template editor.