• Post Reply Bookmark Topic Watch Topic
  • New Topic

navigate from unsecure to secure url

 
bala kiran
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm developing a JSP application, in which I want to send the customer to a secured page (https://) from a non-secure page(http://). How can I do that without forwarding the request? If i have forward the request, will I lose session?
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65530
108
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can I do that without forwarding the request?


Actually, you can't change the protocol on a forward. You'll need to do it with a redirect.
[ December 03, 2005: Message edited by: Bear Bibeault ]
 
bala kiran
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I know..but, if i redirect the request, i might lose the session. Any other option?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!