0

Hi,

I have developed an ASP site. I have a function to check the session's validity. I check whether the ReferrerURL is null and redirect to a session expired page if it is null. It works fine for all pages.

But after a file download ( using the response.TransmitFile ) when i refresh the page the ReferrerURL is null which results in the "Session Expired" redirection.

Is there anything I can do to overcome the situation?

Thanks in advance

2
Contributors
1
Reply
4
Views
4 Years
Discussion Span
Last Post by LastMitch
0

I have developed an ASP site. I have a function to check the session's validity. I check whether the ReferrerURL is null and redirect to a session expired page if it is null. It works fine for all pages.
But after a file download ( using the response.TransmitFile ) when i refresh the page the ReferrerURL is null which results in the "Session Expired" redirection.

Since you did provide any code relating to the Request.UrlReferrer is null

Here is a link of why it happened

http://www.kruegerwebdesign.com/blog/request-urlreferrer-is-null-what-gives

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.