473,473 Members | 1,705 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

problems with frames

I ha a login page which has no frames, and when a user
logs in, i set a session variable ( session("userlogged")=true
to true, then the page redirects the
user to a page with frames(3 frames) in which i check if the user did log
correctly

if (Isempty(session("userlogged"))=true then
response .redirect"back_to_login_page.asp"
end if

(so he dosent just call the page) but i dont know which page in the frameset
sees the session variable. I put the checking of the session variable in
all of
them but when i open the page where the frames are it dosent see the
session variable
(all of the pages are asp)

thx
Jul 22 '05 #1
5 1423
So, to clarify.
Login.asp calles frameset.asp
Frameset.asp has 3 frames (frame1.asp,frame2.asp,frame3.asp).
The 3 frame pages have the check, to ensure they aren't called directly
Frameset.asp also has the check, but is failing?

Is that what you are saying?

--
Curt Christianson
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Filip Matošić" <fm******@inet.hr> wrote in message
news:cr**********@magcargo.vodatel.hr...
I ha a login page which has no frames, and when a user
logs in, i set a session variable ( session("userlogged")=true
to true, then the page redirects the
user to a page with frames(3 frames) in which i check if the user did log
correctly

if (Isempty(session("userlogged"))=true then
response .redirect"back_to_login_page.asp"
end if

(so he dosent just call the page) but i dont know which page in the
frameset
sees the session variable. I put the checking of the session variable in
all of
them but when i open the page where the frames are it dosent see the
session variable
(all of the pages are asp)

thx

Jul 22 '05 #2
yes, they all check but they all fail.
news:ez**************@TK2MSFTNGP14.phx.gbl...
So, to clarify.
Login.asp calles frameset.asp
Frameset.asp has 3 frames (frame1.asp,frame2.asp,frame3.asp).
The 3 frame pages have the check, to ensure they aren't called directly
Frameset.asp also has the check, but is failing?

Is that what you are saying?

--
Curt Christianson
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Filip Matošić" <fm******@inet.hr> wrote in message
news:cr**********@magcargo.vodatel.hr...
I ha a login page which has no frames, and when a user
logs in, i set a session variable ( session("userlogged")=true
to true, then the page redirects the
user to a page with frames(3 frames) in which i check if the user did log
correctly

if (Isempty(session("userlogged"))=true then
response .redirect"back_to_login_page.asp"
end if

(so he dosent just call the page) but i dont know which page in the
frameset
sees the session variable. I put the checking of the session variable in
all of
them but when i open the page where the frames are it dosent see the
session variable
(all of the pages are asp)

thx


Jul 22 '05 #3
If they all fail that's completely diffferent.
In that case then I'd say that session("userlogged") is empty.
Where are you populating this? Please show more code.

--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"polilop" <fm******@inet.hr> wrote in message
news:cr**********@magcargo.vodatel.hr...
yes, they all check but they all fail.
news:ez**************@TK2MSFTNGP14.phx.gbl...
So, to clarify.
Login.asp calles frameset.asp
Frameset.asp has 3 frames (frame1.asp,frame2.asp,frame3.asp).
The 3 frame pages have the check, to ensure they aren't called directly
Frameset.asp also has the check, but is failing?

Is that what you are saying?

--
Curt Christianson
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Filip Matošić" <fm******@inet.hr> wrote in message
news:cr**********@magcargo.vodatel.hr...
I ha a login page which has no frames, and when a user
logs in, i set a session variable ( session("userlogged")=true
to true, then the page redirects the
user to a page with frames(3 frames) in which i check if the user did
log correctly

if (Isempty(session("userlogged"))=true then
response .redirect"back_to_login_page.asp"
end if

(so he dosent just call the page) but i dont know which page in the
frameset
sees the session variable. I put the checking of the session variable in
all of
them but when i open the page where the frames are it dosent see the
session variable
(all of the pages are asp)

thx



Jul 22 '05 #4
I set the session variable to false in my global.asa but when i start my
page with frames first it dosen't redirect but any other page which has no
frames
redirects with no problem. i double checked the code that checks and it
is same as in other pages. The thing is when i print the variable in my
frame
it prints (Response.write....) but when i put
if (Isempty(session("userlogged"))=true then
response .redirect"back_to_login_page.asp"
end if
it dosent redirect.
alsso i tried to put in my global.asa when the session starts that
it emmeditly redirects to the login page but then my explorer flashes
and it seems like it tries to load the page but it can't. For me that would
allso be a solution
but it dosen't work?

"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
news:OL**************@TK2MSFTNGP14.phx.gbl...
If they all fail that's completely diffferent.
In that case then I'd say that session("userlogged") is empty.
Where are you populating this? Please show more code.

--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"polilop" <fm******@inet.hr> wrote in message
news:cr**********@magcargo.vodatel.hr...
yes, they all check but they all fail.
news:ez**************@TK2MSFTNGP14.phx.gbl...
So, to clarify.
Login.asp calles frameset.asp
Frameset.asp has 3 frames (frame1.asp,frame2.asp,frame3.asp).
The 3 frame pages have the check, to ensure they aren't called directly
Frameset.asp also has the check, but is failing?

Is that what you are saying?

--
Curt Christianson
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Filip Matošić" <fm******@inet.hr> wrote in message
news:cr**********@magcargo.vodatel.hr...
I ha a login page which has no frames, and when a user
logs in, i set a session variable ( session("userlogged")=true
to true, then the page redirects the
user to a page with frames(3 frames) in which i check if the user did
log correctly

if (Isempty(session("userlogged"))=true then
response .redirect"back_to_login_page.asp"
end if

(so he dosent just call the page) but i dont know which page in the
frameset
sees the session variable. I put the checking of the session variable
in all of
them but when i open the page where the frames are it dosent see the
session variable
(all of the pages are asp)

thx



Jul 22 '05 #5
> it prints (Response.write....) but when i put
if (Isempty(session("userlogged"))=true then
response .redirect"back_to_login_page.asp"
end if
it dosent redirect.
You stated earlier that: I set the session variable to false in my global.asa but when i start my so the userlogged variable will never be empty. try

if not session("userlogged") then
--
Mark Schupp
Head of Development
Integrity eLearning
www.ielearning.com
"polilop" <fm******@inet.hr> wrote in message
news:cr**********@magcargo.vodatel.hr... I set the session variable to false in my global.asa but when i start my
page with frames first it dosen't redirect but any other page which has no
frames
redirects with no problem. i double checked the code that checks and it
is same as in other pages. The thing is when i print the variable in my
frame
it prints (Response.write....) but when i put
if (Isempty(session("userlogged"))=true then
response .redirect"back_to_login_page.asp"
end if
it dosent redirect.
alsso i tried to put in my global.asa when the session starts that
it emmeditly redirects to the login page but then my explorer flashes
and it seems like it tries to load the page but it can't. For me that would allso be a solution
but it dosen't work?

"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
news:OL**************@TK2MSFTNGP14.phx.gbl...
If they all fail that's completely diffferent.
In that case then I'd say that session("userlogged") is empty.
Where are you populating this? Please show more code.

--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"polilop" <fm******@inet.hr> wrote in message
news:cr**********@magcargo.vodatel.hr...
yes, they all check but they all fail.
news:ez**************@TK2MSFTNGP14.phx.gbl...
So, to clarify.
Login.asp calles frameset.asp
Frameset.asp has 3 frames (frame1.asp,frame2.asp,frame3.asp).
The 3 frame pages have the check, to ensure they aren't called directly Frameset.asp also has the check, but is failing?

Is that what you are saying?

--
Curt Christianson
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Filip Matošić" <fm******@inet.hr> wrote in message
news:cr**********@magcargo.vodatel.hr...
>I ha a login page which has no frames, and when a user
> logs in, i set a session variable ( session("userlogged")=true
> to true, then the page redirects the
> user to a page with frames(3 frames) in which i check if the user did
> log correctly
>
> if (Isempty(session("userlogged"))=true then
> response .redirect"back_to_login_page.asp"
> end if
>
> (so he dosent just call the page) but i dont know which page in the
> frameset
> sees the session variable. I put the checking of the session variable
> in all of
> them but when i open the page where the frames are it dosent see the
> session variable
> (all of the pages are asp)
>
> thx
>



Jul 22 '05 #6

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

Similar topics

3
by: John Draper | last post by:
I am having a lot of problems trying to get a Python CGI to run. I have included 3 parts... 1) A simple stripped down python module. 2) An output of what I get when I do: python index.py...
0
by: Dan Meehan | last post by:
I created a music website that allows people to sign up and post messages on some message boards and update their profiles and such. The login script uses cookies, so when they Log Into the site it...
1
by: Jeff Thies | last post by:
I'm (still) having trouble reading the contents of an IFRAME (IE5). I have this: var my_iframe = document.frames; What I would want to do at that point is get either the...
1
by: Gregor | last post by:
I'm having problems accessing a global array variable from within a function. I have something like this: ------------------------------------ var detail = new Array( 20 ); detail = "hello"; ...
12
by: Javier | last post by:
Hello, I'm very new in this forum and as I have the following problem, the website is in http://new.vanara.com ----------------------------------------------------------------------------...
13
by: CJM | last post by:
I am building several (common) db-driven intranet sites (so I cant post URL), using a 3-frame layout; header, menu & main pages. The styling and some of the positioning is done via CSS. Up until...
55
by: drhowarddrfine | last post by:
I'm working on a web site that could use some control using js but am concerned about what problems I may have with potential users having their js turned off. Has anyone had any serious problems...
15
by: Viken Karaguesian | last post by:
Hello all, I'm having a problem with DOCTYPES. Until now, I haven't been specifying doctypes. I want to start specifying doctypes, but am having trouble doing so. Whenever I specify a doctype,...
11
by: Marilyn | last post by:
Hi everyone, I'm wondering if someone can help me... <sigh> I feel like I'm in a loop and can't seem to figure out how to get out of it. Here's the chronology and the problem: My site is...
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
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...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.