views:

155

answers:

2

Hi, I have a site which I am doing credit card transactions.

The issue is this: if the user goes to: http://mysite.com and then the logic redirects the user to https://www.mysite.com, I lose my session data.

As the title suggests, I am using Symfony, version 1.2

Now, looking in my apps/site/config/factories.yml file, I added the below, but no dice. Any ideas?

Thanks

all:
  routing:
    class: sfPatternRouting
  param:
    generate_shortest_url:            true
    extra_parameters_as_query_string: true
  storage:
    class: sfSessionStorage
    param:
      session_cookie_domain: .mysite.com
+3  A: 

Will you consider, redirecting users to http://www.mysite.com, if they request the site http://mysite.com in the first place? So you can have everything under www.mysite.com domain.

celalo
I agree, if you mean "redirecting users to https://www.mysite.com
sjobe
+1  A: 

http://www.symfonyexperts.com/question/show/id/1 might be what you're looking for

sjobe

related questions