Billy,
The above code did not help.But I cleared the problem as follows:
1) made a new web site which can be viewed by logged users
2)Redirect the site to the link
Now its ok but thank you for you help.
Again
I must see if a User is logged in.If he is, he can open the document.When not ho should be redirected to login page.
How to do this?
How can I prevent somebody from opening apdf document if he isn not logged in?
I hope you can help me:)
Hi again,
its not "simply" a information that a pdf exist- its a link to the site where the link is placed on.
And I want open this document without clicking on its link.
No I cant do this because of security reasons.I need 2 sites.On the first a link that informs a user that there is a pdf document.On click this link it should open new site and execute the link on the site without clicking(auto)-quasi redirect to the link
Can I do this?
I didnt test your code but I am not sure if you did understand?
I have a external link to a site for exmpl. named test.aspx.
<a href="test.aspx">Test site</a>
On this site(test.aspx) is an pdf link for exmpl. document.pdf
I want to do this think:
Klick on Test site opens the site and...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.