Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I am trying to upgrade this website. Currently, there are 20 or 30 asp pages. We need to secure the website so the user will have to login before accessign these pages. Right now, this is done with sessions between the asp pages

 

Right now, our login page is login.aspx... And when we try to mix aspx and asp, the sessions do not work.

 

We have to keep the functionality of the user being able to update the webpages via frontpage (so they can have dynamic links).

 

The login page can be aspx though

 

 

any ideas?

Posted

oh yeah.. something like

 

<authentication mode="Forms">
 <forms name="yourAuthCookie" loginUrl="login.aspx"
   protection="All" path="/" />
</authentication>
<authorization>
 <deny users="?" />
</authorization>

 

Will only protect webpages that are parsed by IIS using:

C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll

 

A normaly asp webpage is parsed by:

C:\WINDOWS\system32\inetsrv\asp.dll

and asp pages cannot be parsed by the .net framework.. you get a 'unsupported filetype' error or somethign like that

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...