0 Replies - 480 Views - Last Post: 27 May 2015 - 06:34 AM Rate Topic: -----

#1 November-06   User is offline

  • D.I.C Regular

Reputation: 53
  • View blog
  • Posts: 482
  • Joined: 04-January 11

Sharing one page for multiple roles in Forms Authentication

Posted 27 May 2015 - 06:34 AM

Usually, when using forms authentication, when I have more than 1 role using a page, what I do is create a usercontrol for that page and call that user control from separate pages of the different roles.

This time, I have started the project without having any role. I created a page that uses AjaxFileUpload with a lot of javascript and asynchronous processes.

I am to add forms authentication to this project. Transferring the content of the page to a usercontrol won't be feasible since it will create issues in the asynchronous processes. Creating a copy of the page for the other role will be tedious on the maintenance.

Can you suggest a better way to do this? How would you guys approach this?

Is This A Good Question/Topic? 0
  • +

Page 1 of 1