Server.transfer and ssl

G

Gigino

I'm developing an asp.net application and i need to execute an aspx
page using Secure Socket Layer; the problem is:
i call the page web form http://server/page1.aspx; when i submit this
form, i wanted to use the server.transfer to go to
httpS://server/page2.aspx with ssl, but the Transfer method doesn't
allow absolute path. Is there a way to do something like that or need
i to call with https all my pages?
thank you for any help
Pietro
 
C

Chad Z. Hower aka Kudzu

(e-mail address removed) (Gigino) wrote in
page using Secure Socket Layer; the problem is:
i call the page web form http://server/page1.aspx; when i submit this
form, i wanted to use the server.transfer to go to
httpS://server/page2.aspx with ssl, but the Transfer method doesn't
allow absolute path. Is there a way to do something like that or need
i to call with https all my pages?

Why not just have the user start at https://server/page1.aspx?
 
E

Eric Lawrence [MSFT]

What data are you trying to protect? There's no point in doing a
Server.Transfer if the user has already uploaded their sensitive data to the
plain HTTP site. Use a Response.redirect instead, or make the post go to
the SSL page directly.

--
Thanks,

Eric Lawrence
Program Manager
Assistance and Worldwide Services

This posting is provided "AS IS" with no warranties, and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,262
Messages
2,571,056
Members
48,769
Latest member
Clifft

Latest Threads

Top