Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

ASP.NET Forum


You are currently viewing our ASP.NET Forum as a guest. Please register to participate.
Login



Reply
session cookies problem exist when using iframe
Old 12-05-2005, 10:52 PM session cookies problem exist when using iframe
whoam1's Avatar
Novice Talker

Posts: 11
Trades: 0
Hi all,
I am currently maintaining a website using session cookies as my security check. If the page cannot find the session cookies, it will prevent the user to view the page.

It works fine most of the time, however, if I use iframe on the page, the whole thing crop up. As long as I have the URL to the page containing iframe content, anyone can jus get in and view the content, is there a way to fixed this?

How do I detect unauthenticed user viewing my pages when I am using iframe? Thank you in advance!
whoam1 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 12-08-2005, 11:44 AM
Minaki's Avatar
Defies a Status

Posts: 1,626
Location: Guildford, UK
Trades: 0
Put the same code you use to authenticate the parent page into the IFrame content page.
__________________
Minaki Serinde MCP
"Wow, Linux is nearly on-par with Windows ME!"

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
Minaki is offline
Reply With Quote
View Public Profile Visit Minaki's homepage!
 
Reply     « Reply to session cookies problem exist when using iframe
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.09634 seconds with 12 queries