You are here: Re: session id changes in Textpattern based on URL « PHP Programming Language « IT news, forums, messages
Re: session id changes in Textpattern based on URL

Posted by Whitefael on 05/15/07 20:34

On May 15, 10:14 am, harvey <harvey....@blueyonzders.com> wrote:
> In article <3fednelwTe4PENTbnZ2dnUVZ_rCsn...@comcast.com>,
> jstuck...@attglobal.net says...
>
>
> This is somewhat disturbing.
>
> Given that this happens - how do you prevent it causing a problem - IE
> how can you force this discrepancy to correct itself so the user session
> always remains safe?

On May 15, 10:14 am, harvey <harvey....@blueyonzders.com> wrote:
> In article <3fednelwTe4PENTbnZ2dnUVZ_rCsn...@comcast.com>,
> jstuck...@attglobal.net says...
>
> This is somewhat disturbing.
>
> Given that this happens - how do you prevent it causing a problem - IE
> how can you force this discrepancy to correct itself so the user session
> always remains safe?

One person on the Textpattern forum did recommend doing this (I'm
assuming this goes in the .htaccess file or httpd.conf file):

<IfModule mod_rewrite.c>
RewriteEngine on

# no www ------------------
RewriteCond %{HTTP_HOST} ^www\.example\.com$ [NC]
RewriteRule ^(.*)$ http://example.com/$1 [R=301,L]
</IfModule mod_rewrite.c>


The above automatically redirects people to the non-www version of any
given url.

I'd also like to see if Jerry's suggestion works.

Thanks again for the help.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация