Developer forum

Forum » Development » HTTPS in admin

HTTPS in admin


Reply

Hey

 

What is a good way to set a page to run in HTTPS in admin.

I want all page with forms to run in HTTPS is there a easy way to set this in admin or should I make a new custom module a add it on all the pages ?


Replies

 
Reply

Or can I tjek in default.aspx if the page contain a forum.

Just to specify it is fontend pages I want to tun in HTTPS.

 
Reply

You only want pages containing input forms to run HTTPS?

 
Reply
Sorensen wrote:

You only want pages containing input forms to run HTTPS?


Yes.
Can I in default.aspx know if the page run a form?

 
Reply

You can override the render method of the default.aspx.cs and take all content out and into a stringbuilder and do your stuff and then pharse it out after

 

This way you can check all content of a page prio to rendering and by that check if theres a input field, if so change http to https

 

You must be logged in to post in the forum