--- In [email protected], "Dominicus Donny" <[EMAIL PROTECTED]> wrote:
> Im confused with the following lines...
> why do you have to put a conditional 'if',
> if they both lead to the same action?
> which is:
>     $_SESSION['station'] = $station;
> I think I've got some similiar problem back in the last year,
> my workaround is using session_cache_limiter() + session_write_close() 
> Thats if I could understand your problem correctly.

Well, OK -- let's start over. Here's what I WANT to do, but can't seem
to achieve:

- if the user comes from one station to the site, the session should
reflect the station var throughout his visit to the site. Currently,
it's not holding on to that variable

- if the user comes from one station, leaves, and returns via another
station, the NEW station var should stick with him throughout his
visit to the site. Currently, it's not doing that either.

So basically, I want to set a session var (that is gathered through a
$_GET action) and have it stick. If the $_GET var is different from
the $_SESSION var (meaning the user revisted from a different
station), $_SESSION should pick up and retain the new $_GET var.

For whatever reason, I'm blanking on this one. I've tried what I
believe to be the obvious solutions, but they aren't working.

Thanks,
-Bob





Community email addresses:
  Post message: [email protected]
  Subscribe:    [EMAIL PROTECTED]
  Unsubscribe:  [EMAIL PROTECTED]
  List owner:   [EMAIL PROTECTED]

Shortcut URL to this page:
  http://groups.yahoo.com/group/php-list 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-list/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to