Solved

http to https after login

Posted on 2002-04-17
2
191 Views
Last Modified: 2011-09-20
How do I make my url to become https://www.domainname.com
after I have login ?
Initially the url page should be http://www.domainname.com
p/s: the website has already been registered with trustasia security(http://www.trustasia.com)
with encrypted security it will be(https://www.trustasia.com)
btw all the codes are handle using jsps, thanks in advance
0
Comment
Question by:ueiki
  • 2
2 Comments
 
LVL 19

Accepted Solution

by:
cheekycj earned 50 total points
ID: 6948016
the simplest way is to make the login form itself submit to a secure page.. and make sure all the links are secure from there on.

A server side check to make sure the user is accessing pages over SSL might be good too.

If you don't want to have the form submit to an ssl page, though it is better that way. you can set up the page that verifies login credentials to send a redirect using response.sendRedirect("full url path here"); in the JSP.

CJ
0
 
LVL 19

Expert Comment

by:cheekycj
ID: 6950349
Thanx for the "A"
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
J2SE 5.0 metadata 1 67
parse example 13 95
best tutorial on log4j and logging for servlets/jsp codes 1 65
java operators 3 125
After-hours service is a fact of life for most MSPs. While not the most pleasant aspect of the job, there are ways to make after-hours servicing a more profitable and organized enterprise.
Read our guide on how to survive being on-call.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question