Finding previous page Url - asp.net

Hi every one i need to make ads for my website in yahoo and google ok
so i need to know from which site (google or yahoo) this user come
details when user click my website ad at google i want to know that this user from google
ok please with asp.net
thanks for all

You could use:
HttpContext.Current.Request.UrlReferrer.AbsoluteUri

You could use UrlReferrer Property

Related

How to set a login page to see the website in wordpress?

i'm a beginner and I'm trying to set a login page on my website build in wordpress. Searching on google I don't find a solution for my issue. There are a lot of plugins that customize the login page in wp-admin to acces at the backend. What I'm trying to do is different. I'd like to put a login page at my website www.example.com (home page) and after the user has insered the credentials, he can see everything on the website. I don't know how to start. Every suggests are appreciate. Thank you in advance
If you're ok with using WP users table and auth systems you could put template content inside a conditional to check if users are logged in.
It isn't elegant but it would get you what you want.

Link on my website to facebook message a page

I would like to embed a link that will open site visitor's browser with their facebook account in "New Message" writing mode with the "to:" field already pointing to my Facebook page.
Is there a way to do this?
It's a wordpress site, so if there is already a plugin that can do this I'd be happy to know which (without asking the visitor for permissions to a facebook app).
Thanks!
You could try to use the FB.ui send dialog:
https://developers.facebook.com/docs/reference/dialogs/send/
There is a parameter called "to" where you could try to add the ID of your Facebook Page. Although i am not sure if it works for Pages, but it´s worth trying.

How to get gmail username into asp.net page

Hello folks when someone login to gmail account and in another tab he open google.
Then you must have seen gmail username displays at the top right corner of the google.
I want the same functionality into my asp.net website. I have searched a lot but could not find any answer. please help if anybody have any idea about it.
If you want to retrieve the user's details of currently logged in google user, then use OpenAuth/OpenID. For .Net, a library is available to do all this task, DotNetOpenAuth. It also contains exact sample of what you want to achieve. Also look here.

ASP.Net authentication and Googlebot

I have an ASP.Net 3.5 web site with forms authentication enabled. Is it possible to have Googlebot crawl my web site without getting prompted for a username/password?
Google claims that is not wont to index page and show them on the users as available that are not, because actually they request user name and password.
It can give the option only to crawl the protect page by the AdSense so he can know what advertize to show on them
https://www.google.com/adsense/support/bin/answer.py?answer=37081
Other solutions that check if is bot or coming from google bot computers are not safe because they can easy spoof by the users, and also may fail to show a preview or a cache of the page.
So you need to think your site structures, what is very important and what is not, to show some part of the pages, hide some other if the user is not register, and that way google have something to index even if its not loged in.
Here is an article:
http://www.guruofsearch.com/google-access-password-protected-site
It would be interesting to see if a google sitemap would result in pages showing up in google - but I doubt that would work either, as the pages would likely need to be crawled anyway.
And some other interesting comments here:
http://forums.searchenginewatch.com/showthread.php?t=8221

Google Analytics--My second profile to an existing domain not tracking

I created a second profile to my Analytics account to track SEO keywords. This is a second profile for my existing working domain. It has been 4 days and I still do not see any traffic on this secondary profile. The profile shows a Staus of "Unknown". But I do not see a way to validate it like you have to when you create your first profile and this should not be necessary for a profile to my existing domain. Any ideas what I am missing? Thanks!
Just had the same problem. This solution worked for me.
Click Edit beside the profile that
is giving you problems.
On the upper-right of the page click
the Check Status link
This should jump-start Google Analytics.
Solution found at:
http://www.inficone.com/technology/a-solution-to-google-analytics-tracking-unknown-problem/151/
Without much info, here's what I can offer:
Why is Google Analytics not tracking some of the pages on my website?
Or contact Google Analytics.

Resources