|
Posted by Steve on 12/06/06 02:27
"windandwaves" <nfrancken@gmail.com> wrote in message
news:1165365308.905659.72990@80g2000cwy.googlegroups.com...
|
| Steve wrote:
| > "windandwaves" <nfrancken@gmail.com> wrote in message
| > news:1165268000.168977.227370@l12g2000cwl.googlegroups.com...
| > |
| > | Steve wrote:
| > | .....
| > | > $site->uri = 'http' . ($securityEnabled ? 's' : '') . '://' .
| > | > $_SERVER['HTTP_HOST'];
| > |
| > | I dont really understand $site->uri part. It seems that you are
| > | referring to a class. Is this php 5? I am working with php 4.3 I
| > | believe.
| > |
| > | Can you explain it a bit more?
| > |
| > | Thank you
| >
| > it is a static interface on an application class that i use. it stores
| > global settings/information about the site...like directory paths for
| > different things for example. it is php 5. that's not what's important.
what
| > is, is the simple approach it takes to do what you want.
| >
| > if you can explain your setup a bit more, then perhaps i could explain
mine
| > to you better.
|
| Hi Steve
|
| I have the following setup: if people open the homepage, my function
| checks whether they are in the unsecured site. If they are not then
| they will be redirected to the unsecure site location(header:
| unsecureurl). If people are on the cart page (the start of the secure
| traject) then the function checks if the people are on the secure site.
| If they are not then it will redirect them to the secure site (header:
| secureurl). At the end of the secure traject, they will hit the
| homepage again and so they are full circle.
|
| I have some problems with the session information propagating between
| these switches, but I solved this (I think).
|
| Hope that makes sense
not at all. your architecture seems a bit strange. are you forcing them to
perform a function on each page? are they all within the same domain? lots
of stuff you're not stating.
Navigation:
[Reply to this message]
|