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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 > |
|
|||
|
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 >> > > |