session state lost when page launched from link within PowerPoint

G

Guest

My C# asp.net app (.NET 1.1) can generate an email whose body contains a link
to the current page of the app.

When the recipient of the email clicks the link (usually from Outlook), the
app launches just fine, and will postback great too. However, when the user
pastes this link into a PowerPoint 2003 hyperlink, runs the slideshow, and
clicks on the link, it brings up the right page, but generates the error
"Object reference not set to an instance of an object" when the user does a
postback event.

By including error messages that tell the state of objects at different
points in the Page_load, I can see the the Session state values are all null
when the app posts back.

In web.config, session state mode = "Inproc" and cookieless = "false"

Is there anything different about PowerPoint 2003 hyperlinks that might
cause the session state variables to be lost?
 
G

Guest

Ivers,
Session state is "hooked up" to each request via the Session cookie (or the
munged sessionid if cookieless="true"). No cookie, no session.

That's why no session from an embedded hyperlink. Of course, you could try
cookieless and have the longer url with the (longsessionid) munged into it.
Peter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top