I gang

include asp page in aspx

I have aspx pages I'm trying to protect from unauthorized users. I have a script which uses asp pages to manage my authorized users. It protects pages with [url removed, login to view] so an include is to be used such as

When I do this I get this:

Compiler Error Message: BC30689: Statement cannot appear outside of a method body.

Source Error:

Line 3:

Line 4:

Line 5: IF Session("MM_Username") "" then

The [url removed, login to view] is attached. The security process work fine on asp pages, I only have the problem with aspx pages.

How should I configure this to make it work? The aspx is written in C#. As you can see the asp is in VB.

Thanks for reading the project!

Færdigheder: .NET, ASP, Visual Basic

Se mere: aspx include, aspx include asp, include asp aspx, include aspx, include asp page aspx, include aspx asp, aspx include page, include asp, asp include page, include aspx page, asp include, include page aspx, statement appear outside, bc30689, asp include aspx, include html aspx, aspx include file, include asp file aspx, aspx include files, include page asp, include asp page, asp page include, include asp pages, asp page aspx, aspx page include

Om arbejdsgiveren:
( 13 bedømmelser ) Lincoln, United States

Projekt-ID: #47960

Tildelt til:


see personal message board

$30 USD på 1 dag
(1 bedømmelse)

5 freelancere byder i gennemsnit $65 for dette job


Hello , Please check PMB for more details. Thankx

$50 USD in 0 dage
(25 bedømmelser)

Please check PMB..

$65 USD in 2 dage
(1 bedømmelse)

We are a software company backed with years of experience and the right expertise to handle all your requirements. With an in-house team of some of the best skilled hands, we assure you of quality work on time, every s Mere

$80 USD in 7 dage
(0 bedømmelser)

Dear Sir Hiensys IT Consulting is an emerging global technology services company delivering business solutions to its clients. We deliver the full range of application outsourcing, business process outsourcing, con Mere

$100 USD in 15 dage
(0 bedømmelser)