Solved

http to https after login

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Multiple Images Upload [JSP Web-application] 3 42
own marker interface 1 57
servlet example 17 52
null output 3 35
With User Account Control (UAC) enabled in Windows 7, one needs to open an elevated Command Prompt in order to run scripts under administrative privileges. Although the elevated Command Prompt accomplishes the task, the question How to run as script…
There's a lot of hype surrounding blockchain technology. Here's how it works and some of the novel ways it' s now being used - including for data protection.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

828 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