joomla - sessions - referring urls - is it possible? - Joomla! Forum - community, help and support
hi guys,
hopefully should straight forward need know joomla , session use following scenario:
basically record referring url site when user goes specific page user given separate set of options other users.
so if user1 comes mysite.com, referringsite.com use like
... record referrer. when user1 goes form , submits (created code via jumi) can use switch or show separate options.
therefore question in - joomla use session $reffer can automatically called on page?
or there way around pass relevant information?
i looked components , while great , record lot of information unsure whether in situation.
btw. using j 1.5
many in advance.
hopefully should straight forward need know joomla , session use following scenario:
basically record referring url site when user goes specific page user given separate set of options other users.
so if user1 comes mysite.com, referringsite.com use like
code: select all
< ?php
session_start();
if(!isset($_session[’referrer’])){
//get referrer
if ($_server[’http_referer’]){
$referrer = $_server[’http_referer’];
}else{
$referrer = “unknown”;
}
//save in session
$_session[’referrer’] = $referrer; // store session data
}
?>
... record referrer. when user1 goes form , submits (created code via jumi) can use switch or show separate options.
therefore question in - joomla use session $reffer can automatically called on page?
or there way around pass relevant information?
i looked components , while great , record lot of information unsure whether in situation.
btw. using j 1.5
many in advance.
Comments
Post a Comment