Restricting Access to Popups

This is a discussion on Restricting Access to Popups within the PHP Language forums, part of the PHP Programming Forums category; Hi there, I have a site that uses sessions for logon state and want to restrict image popups. Can I ...


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-16-2005
Gardners
 
Posts: n/a
Default Restricting Access to Popups

Hi there,

I have a site that uses sessions for logon state and want to restrict image
popups.

Can I pass the session ID, if it exists to generate the popup?

Cheers

Steven


Reply With Quote
  #2 (permalink)  
Old 06-16-2005
Ray
 
Posts: n/a
Default Re: Restricting Access to Popups

Hi

You can try

if(isset($_SESSION['sessionname'])){

put your popup code here...

}

Regards
Ray



"Gardners" <sjgardner@xtra.co.nz> wrote in message
news:Cwcse.7970$U4.1094241@news.xtra.co.nz...
> Hi there,
>
> I have a site that uses sessions for logon state and want to restrict
> image popups.
>
> Can I pass the session ID, if it exists to generate the popup?
>
> Cheers
>
> Steven
>



Reply With Quote
  #3 (permalink)  
Old 06-17-2005
Gardners
 
Posts: n/a
Default Re: Restricting Access to Popups

Hi there,

Thanks for that, works well

Cheers

Steven

"Ray" <firstname@(mweb.co.za)> wrote in message
news:R7idnVNMgN8uyizfRVn-hw@is.co.za...
> Hi
>
> You can try
>
> if(isset($_SESSION['sessionname'])){
>
> put your popup code here...
>
> }
>
> Regards
> Ray
>
>
>
> "Gardners" <sjgardner@xtra.co.nz> wrote in message
> news:Cwcse.7970$U4.1094241@news.xtra.co.nz...
>> Hi there,
>>
>> I have a site that uses sessions for logon state and want to restrict
>> image popups.
>>
>> Can I pass the session ID, if it exists to generate the popup?
>>
>> Cheers
>>
>> Steven
>>

>
>



Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 11:40 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0