Reopening a fancybox - asp.net

Here's my scenario: I have a page that have a link in the name of someone, when you click on it, it opens a fancybox and you can type a message in a text box. If the user ins't logged in I close the fancybox, and redirect the behind page to my login/register page.
What I need is that after logging in or registering, the user was redirected back to the page with the fancybox open and the text that the user typed before needs to still be there.
Anyone have a suggestion of how doing it? I thought about Sessions to keep the text, but I don't think that's the best way to do it.

How about using cookies for the same? Save to cookie in case you are redirecting him to login page and load it back when he is redirected back.

Related

Page isn't redirecting properly in reset password functionality in Drupal

I am new to Drupal, and facing an issue.
When I open one-time link of reset password it shows the Login button, and by clicking on this button, it does not open a page and says "The page isn't redirecting properly". But after 4-5 minutes, the page opens properly by refresh.
Can't figure out the problem.
Check for the duplication in the configuration of URL redirects

The website is auto reloading automatically

I have a problem with a website made on Wordpress. The website is reloading automatically as soon as you hit enter to get on the website. Apparently it's a problem with the cookies, or so. After some hits on the F5 button it works and keeps working. If I delete the cookies, it starts to refresh again if I try to enter on the website. Did you encountered this type of problem? You can see it here

Clearing cache on Master.Page

I have a master page and there is ahref link on this masterpage. It is linked to page2.aspx When user login, he/she goes to default.aspx directly. When user clicks that link, the page goes to page2.aspx. The problem is that I want to clear cache of default page. This way when user clicks to link after login, he/she won't be able to go back to default page using back button on browser. Is that possible?
It is not possible to simply clear a page that is already in cache. Instead, you need to prevent the page from being cached by the browser:
Disabling browser caching for all browsers from ASP.NET

Permalink not work when admin not login

I had configured premalink on my wordpress. It works fine when I login in as a admin.
However, if I log out, all of the links cannot be opened. Instead, it gives me a 404 page.
Has anyone met this problem before and tell me how to solve it? Thanks.
Double check your page properties. May be it is password protected/private or may be it is not published.
To check page properties:
Login to Dashboard.
Click Pages on left side.
Hover on the page which you getting 404 and click Quick Edit
This will show all the details about your page. Check the password field, private and the Status field. The status should be published.
Check it.
Try flushing the permalinks cache by going back to the permalink options and clicking save (without changing anything). If that doesn't do the trick, make sure you've cleared your browser cache :P

After logged out, clicking browser go back button still brings back the previous visited page

I was Using DRUPAL 6 Version
I logged in as a user. once i logged in i landed into www.mywebsite.com/home
I copied the url and i logged out
If i pasted the url in browser , it was taking me to the same page ( www.mywebsite.com/home ).
But in that page functionalities are not working. even logout also not working if i paste the url without login.
But what i need is , if i enter that url also once i logged out, it has to redirect to www.mywebsite.com/index.php not to the page which i paste url
kindly help to solve this

Resources