473,396 Members | 1,891 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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
Jul 17 '05 #1
2 1124
Ray
Hi

You can try

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

put your popup code here...

}

Regards
Ray

"Gardners" <sj*******@xtra.co.nz> wrote in message
news:Cw*******************@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

Jul 17 '05 #2
Hi there,

Thanks for that, works well

Cheers

Steven

"Ray" <firstname@(mweb.co.za)> wrote in message
news:R7********************@is.co.za...
Hi

You can try

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

put your popup code here...

}

Regards
Ray

"Gardners" <sj*******@xtra.co.nz> wrote in message
news:Cw*******************@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


Jul 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Xenophobe | last post by:
I have a popup window (required by the client) containing a form and would like to prevent users from accessing it directly. They are instead required to access the page via a hyperlink on another...
52
by: Harlan Messinger | last post by:
Can you help me figure out what to do about popups? Sometimes we develop web applications where popups make very good sense for precisely the same reasons they make sense in traditional...
2
by: Tom Szabo | last post by:
Hi, >>IE in Windows XP Service Pack 2 has a popup blocker that blocks unsolicited >>popups >>IE (other than Windows XP Service Pack 2) also has many add-ons (Google toolbar, >>Yahoo! toolbar,...
6
by: Jim | last post by:
Last year I downloaded a form that can be put in an Acces database that writes SQL text for VB. I have it in an older database but it won't work in my current project. I get an error message...
30
by: Dave | last post by:
Hi, I have found some code on the Microsoft knowledge base that 'should' allow me to send emails and attachments However the code tries to use Outlook and i want it to use outlook Express ...
4
by: Dennis C. Drumm | last post by:
Is there a way with C# to allow one class access to a method or field of another class, without making that method or field visible to all other classes, as would be the case when making the method...
8
by: sneddo | last post by:
Ok I am trying to do the above, I have got a script that will restrict the length but it requires the user to enter the field and hit a key, before it will work. This would normaly be find, but...
2
by: sant.tarun | last post by:
Hi, I am facing some some problem in restricting the access of a variable.... My question is described below..... Let I have two different C source files 'a.c' and 'b.c'. In the file 'a.c'...
1
by: Moe Sisko | last post by:
Using : ASP.NET 2.0, IE 7. This is a strange problem with popups not working in IE to remote sites, even though popups are allowed in IE. To reproduce, create web site with two pages,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.