Hi, all
I have a page called "default.htm" which has 4 frames. When somebody wants to access this page, if the user didn't log on in the system then it must appears the "login.aspx" page. I'm trying to do something in the Global.asax but I'm having some troubles.
Any ideas would be great.
Cheers,
Agus 2 948
On Sat, 26 Jun 2004 10:27:01 -0700, Agus Ayala <Agus Ay***@discussions.microsoft.com> wrote: Hi, all
I have a page called "default.htm" which has 4 frames. When somebody wants to access this page, if the user didn't log on in the system then it must appears the "login.aspx" page. I'm trying to do something in the Global.asax but I'm having some troubles. Any ideas would be great.
Cheers, Agus
add Javascript to your login.aspx page that when it displays, it 'breaks
the frames'. Google for this, there's plenty of examples online of how to
have a page load into the top frame (break the frames).
--
Craig Deelsnyder
Microsoft MVP - ASP/ASP.NET
On Sat, 26 Jun 2004 14:24:32 -0500, Craig Deelsnyder
<cdeelsny@no_spam_4_meyahoo.com> wrote: On Sat, 26 Jun 2004 10:27:01 -0700, Agus Ayala <Agus Ay***@discussions.microsoft.com> wrote:
Hi, all
I have a page called "default.htm" which has 4 frames. When somebody wants to access this page, if the user didn't log on in the system then it must appears the "login.aspx" page. I'm trying to do something in the Global.asax but I'm having some troubles. Any ideas would be great.
Cheers, Agus
add Javascript to your login.aspx page that when it displays, it 'breaks the frames'. Google for this, there's plenty of examples online of how to have a page load into the top frame (break the frames).
you are using Forms Authentication, btw, aren't you? that's what I was
assuming (and is the easiest way of doing this); your question was a
little confusing...
--
Craig Deelsnyder
Microsoft MVP - ASP/ASP.NET This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Tim Daneliuk |
last post by:
OK, I've Googled for this and cannot seem to quite find what I need.
So, I turn to the Gentle Geniuses here for help. Here is what I
need to do from within a script:
Given a username and a...
|
by: Dan Bart |
last post by:
I am using an application which is a modification of IBuySpy Portal.
It is using Forms authentication. Users login and their name is added
to
Context
Then I use:
...
|
by: Matthew Louden |
last post by:
I wrote ASP.NET application that access SQL Server database. When I run the
application, it yields "Login failed for user '<COMPUTER_NAME>\ASPNET'"
error message.
I then did the following, but...
|
by: Joe |
last post by:
I check for the NTLogin of a user by
Page.User.Identity.Name,
but when I put the app on the server the value for
Page.User.Identity.Name is ""
I had the <allow users="*/> attribute commented...
|
by: Tom Nowak |
last post by:
I am writing a webapp in which a user is required to enter a login id and
password on a login form. I have forms authenticaion coded in my web.config.
Once the user is logged in, I want to use the...
|
by: noor |
last post by:
hi,
can any one tell me a javascript that can be called on mouseover event of a
html link control .
script can check from session either a user is login or not
In the case of Login it will...
|
by: J |
last post by:
Hello. I apologize if this isn't the appropriate group for this question
but I was wondering if it's possible to allow regular windows domain users
to change their passwords through an .asp page? ...
|
by: mario.colorado |
last post by:
Hi!
Does anyone know why it is that when I use:
Request.LogonUserIdentity.User.ToString()
I get something like:
S-1-5-21-2268419..........
|
by: webrod |
last post by:
Hi all,
how can I check a user/password in a LDAP ?
I don't want to connect with this user, I would like to connect to LDAP
with a ADMIN_LOG/ADMIN_PWD, then do a query to find the user and...
|
by: MuZZy |
last post by:
Hi,
I am looking to find a way to get currently logged in user's object GUID
without querying ActiveDirectory. For example, when i log in to my
laptop from home, I'm not on the office network so...
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
|
by: ryjfgjl |
last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
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...
|
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
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
| |