Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / March 2008

Tip: Looking for answers? Try searching our database.

Interesting problem with session state...help?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Marcus - 25 Mar 2008 18:23 GMT
We have a third party application built for us that utilizes Sql
Server Reporting Services to produces various reports for our
business. Normally one would access the various reports directly
through their asp.net application. However, I am trying to build a
link directly to a specific report within their application so it can
be clicked on from our intranet (i.e. outside their application). The
link looks something like this:

http://request.bentall.com/Request//Page.aspx?k=1108&PropertyKey=1176533&UserKey=2262

If one starts up a new instance of IE, and enters the above link, the
page redirects to:

http://request.bentall.com/Request/Default.aspx

and then loads up the correct report in the center frame with the
various frames of the frameset loaded correctly. HOWEVER, if I try to
go to this link once again (either immediately or after browsing away
to another page anywhere and then returning), the redirection does not
occur and the initial url loads without the frameset (i.e.
http://request.bentall.com/Request//Page.aspx?k=1108&PropertyKey=1176533&UserKey=2262).
If I start up a new instance of IE, then it works fine for that first
visit to the report, but the next visit same problem. I thought that
it might be a session state issue, so I cleared all the temporary
files and cookies, but still no go. It baffles me how somehow the
asp.net application has some sense of whether I have been to the
report page already with this instance of IE. Am I somehow not
breaking the session by removing all cookies? Is there something else
I can try? By the way, evening spawning a new IE window (ctrl-N) which
I gather is the same IE process has the same problem.

Thanks for any feedback.

Marcus

If you now open up a new IE browser and go to this url, there is a
redirection that occurs to load the frameset (http://
request.bentall.com/Request/Default.aspx), with the above URL (the
asset summary report) loading in the center frame. Now if you navigate
anywhere else with this browser instance, and then go to the asset
summary report once again (for the same or any other property), the
report loads but now with no frameset, just the report frame. Thus,
the breadcrumb link at the top of this page yields javascript errors
as they are trying to reference the frames that do not exist. Clearing
out cookies and temporary files does not changes this behavior. Do you
have any thoughts on what is going on here, and how to get around it?
bruce barker - 25 Mar 2008 18:56 GMT
it probably uses a session cookie, which is not written to disk. install
fiddler, and you can see the cookies.

-- bruce (sqlwork.com)

> We have a third party application built for us that utilizes Sql
> Server Reporting Services to produces various reports for our
[quoted text clipped - 42 lines]
> out cookies and temporary files does not changes this behavior. Do you
> have any thoughts on what is going on here, and how to get around it?
Marcus - 25 Mar 2008 23:28 GMT
Thanks, Bruce. I hadn't really used Fiddler much before, but it really
helped out. Found that the session was staying active and that the
application was redirecting to another page where credentials were
being checked. Building my url based on this page did the trick.

Thanks,
Marcus

On Mar 25, 10:56 am, bruce barker
<brucebar...@discussions.microsoft.com> wrote:
> it probably uses a session cookie, which is not written to disk. install
> fiddler, and you can see the cookies.
[quoted text clipped - 47 lines]
> > out cookies and temporary files does not changes this behavior. Do you
> > have any thoughts on what is going on here, and how to get around it?

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.