Re: how to check from where a user just open a particular page on my site.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

There are times when the http referrer maybe forged. In which case  
you cannot entirely rely on $_SERVER['HTTP_REFERER'].
Another way to track this would be using sessions. Store the pageid  
as a session variable and look for it on the target page.

Peace,
Shoan.


On 23-Aug-05, at 7:04 PM, Sher wrote:

> hi again,
>
> Thanks for the help you people provided related to the Session
> handling, i m working on it.
>
> I got another question.
> how can i check from where a user has open my site ?
>
> Like I want to restrict a user from accessing a particular page on my
> site, if he/she is not from another particular page on my site than
> that person is not allowed to see that page. is there a function or
> object that i can use like header(), include() ?
>
> Thanks in advance for anyhelp you people provide.
>
> Shakeeb.
>
>
>
>
>
>
> ------------------------ Yahoo! Groups Sponsor -------------------- 
> ~-->
> <font face=arial size=-1><a href="http://us.ard.yahoo.com/ 
> SIG=12hjov8ul/M=362131.6882499.7825260.1510227/D=groups/ 
> S=1705006764:TM/Y=YAHOO/EXP=1124811335/A=2889191/R=0/SIG=10r90krvo/ 
> *http://www.thebeehive.org
> ">Get Bzzzy! (real tools to help you find a job) Welcome to the  
> Sweet Life - brought to you by One Economy</a>.</font>
> -------------------------------------------------------------------- 
> ~->
>
> PHP Data object relational mapping generator - http://www.meta- 
> language.net/
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
>



------------------------ Yahoo! Groups Sponsor --------------------~--> 
<font face=arial size=-1><a href="http://us.ard.yahoo.com/SIG=12hr7nu75/M=362131.6882499.7825260.1510227/D=groups/S=1705006764:TM/Y=YAHOO/EXP=1124848752/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
">Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life - brought to you by One Economy</a>.</font>
--------------------------------------------------------------------~-> 

PHP Data object relational mapping generator - http://www.meta-language.net/ 
Yahoo! Groups Links

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

<*> To unsubscribe from this group, send an email to:
    php-objects-unsubscribe@xxxxxxxxxxxxxxx

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





[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux