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.
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.
5 freelance font une offre moyenne de $65 pour ce travail
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 Plus
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 Plus