472,779 Members | 2,541 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Hyperlinks in Microsoft applications (access, word, excel, etc)

Hello

Hoping someone can help explain the following behaviour.
I have an application that does a series of redirects before hitting
in a login page.

If I insert this application hyperlink to any MS office 2003 product,
say MS Access and click on it I get strange browser session behaviour
with both IE7 and Firefox 2.0.

It seems that clicking on the link in MS Access creates a 'hidden'
browser session with one session id. At the point the redirects hit
the login page and a 200 is returned then an actual broswer window is
opened with a different session and session id. Anything written into
the first session by my application (session variables and cookies)
are lost further down the line due to this break in sessions.

If I click on the link off a web page the session remains constant
throughout.

I was wondering why there is this hidden browser session and is
session url rewriting the only way around this issue?

cheers for any help and advice

Feb 1 '07 #1
3 10333

"nome" <h.******@sheffield.ac.ukwrote in message
news:11**********************@m58g2000cwm.googlegr oups.com...
Hello

Hoping someone can help explain the following behaviour.
I have an application that does a series of redirects before hitting
in a login page.

If I insert this application hyperlink to any MS office 2003 product,
say MS Access and click on it I get strange browser session behaviour
with both IE7 and Firefox 2.0.

It seems that clicking on the link in MS Access creates a 'hidden'
browser session with one session id. At the point the redirects hit
the login page and a 200 is returned then an actual broswer window is
opened with a different session and session id. Anything written into
the first session by my application (session variables and cookies)
are lost further down the line due to this break in sessions.

If I click on the link off a web page the session remains constant
throughout.

I was wondering why there is this hidden browser session and is
session url rewriting the only way around this issue?

cheers for any help and advice
At the point the link is clicked in an office application the app does not
know what resource type it is going to receive. It doesn't assume it will
be HTML or in some way browser oriented, for all it knows the link could
pull another excel or word document.

The office app will ask the WinInet stack to fetch the resource. WinInet
will then automatically follow any redirects until it gets the final
response.

On realising that a browser is needed the current default browser is
launched and it takes over.

The problem is that temporary (or transient cookies) such as that used to
maintain an ASP Session are stored in process memory. Now that a new
process has been launched (or an existing browser process) has been given
responsiblity for handling the request any subsequent requests will not have
access the cookies previously generated during the redirects.

Anthony.
Feb 1 '07 #2
hi - thanks for the reply.
so there is nothing that can be done then?
cheers

Feb 1 '07 #3

"nome" <h.******@sheffield.ac.ukwrote in message
news:11**********************@p10g2000cwp.googlegr oups.com...
hi - thanks for the reply.
so there is nothing that can be done then?
cheers
Make the link go directly to a page. Then have that page use J(ava)Script
or meta tag to goto the original link you were using.

Feb 1 '07 #4

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

Similar topics

2
by: Phil Powell | last post by:
Based on the information I read in www.php.net on the header command I wrote a dummy test script to try to convert the contents of $stuff to MS Word downloadable format: ...
3
by: Whoever | last post by:
To create Excel file, you can Add Reference Visual Studio.NET, browse to ... and then select Microsoft.Office.Interop.Excel, etc. It endsup some reference to GUID in project file. You can then...
12
by: Cheval | last post by:
Has anyone had any problems with inter-office automation between MS Word and MS Access in Office 2003? I have recently installed office 2003 in a new folder and have left the older office 2000...
6
by: Colleyville Alan | last post by:
I have an application that has an Access table that stores the locations of slides in a Powerpoint file. This used to work fine when there were about 4 files and 200 slides. The database would...
4
by: Bob | last post by:
Hi, I am using Office XP PIAs. I want to use Word/Excel to printOut documents w/o bringing up the application at all. When I set the Visible field to false, I still get the printing window...
2
by: selen | last post by:
I want to open Microsoft word, excel and PowerPoint with asp.net and save it. How can I do that? Thanks.........
12
by: D. Shane Fowlkes | last post by:
This most likely belongs in another forum but I thought I'd start here. I have a COM Object written in VB6. The DLL will access MS Excel and use it's Object Library to write a customized report...
0
by: Lyu KingT | last post by:
hi, i need to control the right of a Office document in my Visual Studio Projects, so how to enable or disable the print, what abou edit, save..... i try to fellow the video How Do I: Hi-jack...
0
by: Rina0 | last post by:
Cybersecurity engineering is a specialized field that focuses on the design, development, and implementation of systems, processes, and technologies that protect against cyber threats and...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 2 August 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: kcodez | last post by:
As a H5 game development enthusiast, I recently wrote a very interesting little game - Toy Claw ((http://claw.kjeek.com/))。Here I will summarize and share the development experience here, and hope it...
14
DJRhino1175
by: DJRhino1175 | last post by:
When I run this code I get an error, its Run-time error# 424 Object required...This is my first attempt at doing something like this. I test the entire code and it worked until I added this - If...
0
by: Rina0 | last post by:
I am looking for a Python code to find the longest common subsequence of two strings. I found this blog post that describes the length of longest common subsequence problem and provides a solution in...
5
by: DJRhino | last post by:
Private Sub CboDrawingID_BeforeUpdate(Cancel As Integer) If = 310029923 Or 310030138 Or 310030152 Or 310030346 Or 310030348 Or _ 310030356 Or 310030359 Or 310030362 Or...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
0
by: Mushico | last post by:
How to calculate date of retirement from date of birth
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...

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.