Solved

http to https after login

Posted on 2002-04-17
2
188 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
reflections, dynamic class loading 3 70
maven webservice projet error 6 80
thymeleaf natural templating vs JSP 2 101
login jsp example 24 50
If you thought ransomware was bad, think again! Doxware has the potential to be even more damaging.
Data breaches are on the rise, and companies are preparing by boosting their cybersecurity budgets. According to the Cybersecurity Market Report (http://www.cybersecurityventures.com/cybersecurity-market-report), worldwide spending on cybersecurity …
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

777 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