views:

7

answers:

0

Hi, in my web application I am using secure cookies to remember users.

It works like this:

  1. If the connection is insecure redirect to a HTTPS url.
  2. Over the secure connection transmit the cookies and identify the user.
  3. Redirect to the original (insecure) url.

So every client has to go through two redirects per session. Also the SSL certificate is self-signed.

My questions are:

  1. Would this scheme cause problems with search engines like Google?
  2. If so, how to solve this? Is it possible to recognize the search engine and skip the redirects?

Thanks in advance!