473,587 Members | 2,494 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Login Redirection Problem from Office XP Apps

I can not figure out what is going on here. I hope somebody can please
help!!!

I've got an intranet ASP3 application running on a Win2k server. This
application requires a login, so the user must first go to the login.asp
page before accessing any other .asp page. I have set up a redirection
method so that if a user pastes a URL to an internal .asp page, I store the
URL in a session variable, then I direct them to the login page. After
logging in, if the session variable is not blank, then I redirect them to
that URL.

for example:

1. user pastes into IE6 address bar:
http://domain.com/myweb/viewdocument...number=0102200
2. the viewdocument.as p code contains at the top of the page:

if session.content s("isLoggedIn ") = False then
session.content s("EntryURL") = "viewdocument.a sp?" & request.queryst ring
response.redire ct "login.asp"
end if
..... then the rest of the page is below where if the user was logged in it
would retrieve the document

3. the login page is displayed to the user. they enter their username and
password. the form on the login.asp page gets submitted to the
loginresponse.a sp page which has the following logic:

if app.login(reque st.form("userna me"), request.form("p assword")) then
session.content s("isLoggedIn ") = True
if session.content s("EntryURL") = "" then
response.redire ct session.content s("EntryURL")
else
response.redire ct "welcome.as p"
end if
else
response.write "Log in failed."
end if

This has worked perfectly for over a year... Until about 3 months ago. We've
noticed now that if you paste the URL into the IE6 address bar, the steps
above execute correctly taking you to the correct page after logging in. If
you click on the link from a Sametime message (Lotus sametime) or from a
Lotus Notes Email it also works.

What doesn't work is when you paste the URL into an Office Document (same
problem in Word, Excel, Powerpoint) and open the hyperlink from there. What
happens is it appears that the Session.Content s("EntryURL") is not being
captured because the user gets presented with the login form, but then after
logging in they get taken to the welcome page instead of the URL they
clicked on.

We've repeated this problem on several computers. They all are running
Windows XP with Office XP and IE6. It doesn't appear to be a problem on
Windows 98 computers. I can't understand what's going on. I thought it was
cache related, but I've cleaned out my cache and the problem doesn't go
away.

Your ideas are much appreciated. Thanks!
Jul 19 '05 #1
0 1778

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

Similar topics

1
481
by: Ken | last post by:
Hi, I'm trying to access the values of properties -- summary and custom without opening Word to do a cleanup op but the customer i'm doing it for only has Office 2000. I'm using c# in .net 2003 and having trouble. I've looked on msdn and can find a pia for Office xp but no mention of Office 2000. Is this possible or do will I have to go back to VS6 and do it in VB?
2
1808
by: A.M | last post by:
Hi, I am using WebForms authentication. What would be the best way to prevent two person login with same userID at the same time? Thanks, Alan
12
6957
by: ACaunter | last post by:
Hi all, I was wondering how i could write some code which would automatically open the Login Page once the session has expired? -- AdamPC@hotmail.com
2
2895
by: pv | last post by:
Hi everyone, I need help with following scenario, please: Users are accessing same web server from intranet (users previously authenticated in Active Dir) and from extranet (common public users). If user is from intranet, web server should recognize it and application should create additional options in controls regarding groups the user belongs to. If user is from extranet it should be logged in as anonymous and a link to login page...
5
5118
by: djhexx | last post by:
Hi. We have an asp.net intranet application written in VB that uses forms authentication for all it's pages. I have a C# asp.net application that I just wrote. The company would like the C# application to authenticate using the same mechanism as the intranet app. Therefore...if I try to login to the c# app, it should redirect me to the intranet login. Once I pass authentication, I should be able to access the c# app. Now. Here is...
3
2362
by: Katie | last post by:
Hi, I want to be able to send users links to pages in my website. But if they arent logged in I want them to first be redirected to the login page and after they login automatically be redirected to the page i sent them in the link. How would i accomplish this. Thanks for your time and help :)
1
4986
by: Jakob Lithner | last post by:
When I started a new ASP project I was eager to use the login facilities offered in Framework 2.0/VS 2005. I wanted: - A custom principal that could hold my integer UserID from the database - An easy way to classify different pages as either Admin, Member or Public, where login is necessary for Admin and Member but not for Public. My idea was to put the pages in different directories to easily keep my order. - An easy menu system that...
3
6497
by: dev648237923 | last post by:
We have an asp.net web application that uses Forms Authentication. We need to launch a second application from links in this app. We don't want the user to have to also login to this second app. Is there a way to let the second app know that we are authenticated on the first app. I thought about just using the http_referrer and saying the second app can not launch anywhere except from the links on the first app but its too easily spoofed....
1
2992
by: Sleepwalker | last post by:
Hi, I'm currently in the process of constructing a stripped down version of the company website that will be show to people logging in from a mobile device. When the user logs in to the homepage, he or she is directed to the homepage default.aspx, where they can login. As part of the Page_Load of this page, I added a check if the Request.Browser.IsMobileDevice, and in that case redirected to the custom mobile login page:...
0
7924
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8219
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8349
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
7978
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
6629
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
5722
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5395
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
3882
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1192
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.