Devam Ediyor

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!

This was cut off from above:

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 security.asp so an include is to be used such as: ()

I've tried twice to put a standard include line but it won't take it, let me try this way: #include file="security.asp

When I try to include the security.asp I get the compilation error listed above.

Beceriler: .NET, ASP, Visual Basic

Daha fazlasını görün: aspx include, aspx include asp, include asp aspx, bc30689 statement appear outside method body, include aspx, statement appear outside method body, include asp page aspx page, include asp page aspx, include aspx asp, aspx include page, include asp, asp include page, include aspx page, asp include, include page aspx, error bc30689 statement appear outside method body, aspx include aspx, statement appear outside, bc30689, asp include aspx, asp statement appear outside method body, asp include asp, include html aspx, aspx include file, include asp file aspx

İşveren Hakkında:
( 13 değerlendirme ) Lincoln, United States

Proje NO: #47960

Seçilen:

itsabidhere

see personal message board

1 gün içinde 30$ USD
(1 Değerlendirme)
1.0

5 freelancer bu iş için ortalamada 65$ teklif veriyor

omsoftware

Hello , Please check PMB for more details. Thankx

in 0 gün içinde50$ USD
(25 Değerlendirme)
6.9
solutions2006

Please check PMB..

in 2 gün içinde65$ USD
(1 Değerlendirme)
1.0
ernestbpo

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 Daha fazlası

in 7 gün içinde80$ USD
(0 Değerlendirme)
0.0
hiensys

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 Daha fazlası

in 15 gün içinde100$ USD
(0 Değerlendirme)
0.0