Jump to content

What is do ? UniSession.UrlReferer property


molla2005b

Recommended Posts

  • Administrators

Represents the URL which has been used to start the web application on the client side.

Under normal operations this referrer is retrieved from HTTP rqeuesr parameters and there is no need to specify it. However, sometimes when server is behind a reverse proxy URL referrer can not be get from the HTTP request and should be specified manually.

 

Example:

Consider your server is behind a reverse proxy which redirects external URL http://mycompany.com/webappato the internal URL of http://192.168.1.134:8088/webappa.dll .

In this case the external URL http://mycompany.com/webappashould be retrieved from request header parameters  'Referer', but for some reasons this value can be missing from the headers and in this case you need to sepcify it manually by setting the UrlReferer property to 'http://mycompany.com/webappa'.

Link to comment
Share on other sites

"...in this case you need to sepcify it manually..."

 

Why do you then need to specify it ? Please clarify.

 

"...retrieved from request header parameters  'Referer'..."

 

How early, in the startup process, can this be done, and how?

Link to comment
Share on other sites

  • Administrators

"...in this case you need to sepcify it manually..."

 

Why do you then need to specify it ? Please clarify.

 

"...retrieved from request header parameters  'Referer'..."

 

How early, in the startup process, can this be done, and how?

 

If you don't specify your application will still work, but some URLs such as application restart URL can be wrong.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...