Re: HTTP/HTTPS differentiation - WeOnlyDo Discussion board

Re: HTTP/HTTPS differentiation (General questions)

by woddrazen, Wednesday, March 17, 2010, 19:14 (5364 days ago) @ amirsky

Hi,


You can allow same user on both server. Actually you can make both server to response same.

Inside your project you can call two wodWebServer instance. One for HTTP server and other for HTTPS server. They have separate Events but you can execute same code inside both server Events.

For example you can use same code inside LoginPassword Event for HTTP server and for HTTPS server. So user will be able to access HTTP and HTTPS server using same account.

Actually maybe better solution is to make some external function. You can then call that function from HTTP server LoginPassword Event and from HTTPS server LoginPassword Event.

In that case same function will be execute on both servers. So HTTP and HTTPS server will response server no meter which one you use. If you use same logic for all other Events both server will response same.


Drazen


Complete thread: