Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 7 years ago.
Improve this question
I am supporting an old classic asp application which is built on VB6.The problem is when I click the submit for approval button in the below
The frame is getting repeated as below...
But when I click on any option of leftmost menulist(For ex: Leave and Attendance Management in the left most menu list) or when I refresh the whole page, The page is displayed finely as below.
As the code is in classic ASP I was unable to debug the code.I am attaching the .asp code of Leave application form page (i.e., the code of first screen shot ) below.
Due to lack of space I am giving you a shared link : Click here...
Code is bit big.Kindly help me.Thanks in advance
Based on your screenshots and the code it looks like the leave application form is being loaded within an iframe on the page of your first screenshot, so when you submit you are loading the posted page into the same iframe. The code (in your shared link) at line 50 seems to target one frame over another depending on a querystring. I would debug the parent page to ensure you have the correct name or target _top to ensure the posted page takes over the whole screen
Related
After i scaffolded identity when i run my project it gives me a blank page and the project doesn't have any errors, manually going to a page doesn't work either and when i try to view in browser a page view it gives me the same blank page.enter image description here
You have not given enough information for the question to be answered. If you are using Areas then the answer can be simply that you have not defined the Area Attribute at the beginning of your controller, such as
[Area("Landing")]
If this doesn't work then post extract of your code such as the program.cs, the HomeController.cs etc.. Then someone may be able to answer your question. :)
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
I was going through a site and saw that site is developed in wordpress. However, when i land on below page. I am unable to understand whether they have used a wordpress plugin or api to develop functionality:
https://legaldesk.com/affidavits/affidavit-for-change-of-name
Above link shows me a form when I select any city and click on create agreement. It asks for my details and on the right it shows preview.
Please answer . If this question should not be asked here, please do let me know the right site on which I can ask this. I like learning new technologies.
The forms themselves seem to be from "TemplatesForm" sourceforge.net/projects/kobject/files/kobject-java/tests/tests/…
Generally, the process of finding which plugins and scripts is one of a kind of forensic detection using, on the one hand, direct links to scripts' sources, which lead to the publisher's url and on the other, class names and other names or function calls, for example, found in the HTML.
Apart from obvious signs like "Powered by WordPress" or similar lines which some sites will have clearly displayed on them, you can find out a lot from the HTML page source.
Right click your page, select "view source" and search for, for example, "plugins" in the paths you find. One plugin used here is http://codecanyon.net/item/mega-main-menu-wordpress-menu-plugin/6135125 MegaMainMenu also Woocommerce, LayerSlider http://codecanyon.net/item/layerslider-responsive-wordpress-slider-plugin-/1362246 and FlexSlider https://www.woothemes.com/flexslider/
In this case, this is the theme - http://themeforest.net/item/envor-fully-multipurpose-wordpress-theme/9251688
They are also using Visual composer WYSIWIG plugin to help build it. codecanyon.net/item/visual-composer-page-builder-for-wordpress/…
You can launch scripts in browser windows as text by clicking on links to them in the HTML itself (at your own risk but it usually pops up in the browser as text) and you will often find the licence agreement texts at the top of the script.
You can see what national language the script has traces of to establish nationality (for example the forms scripts have traces of French in their variable names, which match with those on this site) This will help to confirm if you have discovered a script which was produced in the country you expect.
You can also see what programming language is involved, to help in your search and understanding of how the site works.
Website traffic in this case is monitored by Data Sumo Me https://sumome.com/ and Google Analytics. Also the Yoast WordPress SEO plugin is used. The URLs and names here are fairly obvious in the page's HTML and in HTML comments.
The part that pops up the overlays wordpress.stackexchange.com/questions/95661/… myModalLabel is BootStrap Modal - More on Modal Popups from http://www.tutorialspoint.com/bootstrap/bootstrap_modal_plugin.htm which seemed a very clear tutorial and explained the application of modal popups well.
More on Modal dialogue boxes - there is plenty you can do with those and they have been used extensively on this site en-gb.wordpress.org/plugins/modal-dialog modal-dialog for popup dialog boxes - you may find other bits on this site, including the usual jquery, bootstrap and fonts/css.
Another script called "imageareaselect odyniec.net/projects/imgareaselect is used for selecting image areas.
As this question is a little "off topic" for Stack Overflow you should probably try on Wordpress StackExchange, wordpress.stackexchange.com though they don't actually recommend any specific plugins as a matter of policy. I am also not recommending any here, only answering your question as to what has been used here and hope that the focus on what actually makes it work will be of use and interest to programmers who read this answer.
I can't see any other ones indicated in your webpage example - there may be some I have not noticed, but this answer is also intended partly as an example of the forensic analysis processes involved in working out what powers a site, which is at least partly within the scope of StackOverflow and I hope you will be able to use it to help you complete the discovery of any I missed. This started out as a collection of comments but seemed to develop a life of its own.
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 3 years ago.
Improve this question
http://localhost/ahalia/contact-us/#wpcf7-f606-o1
I am using a contact form 7 plugin. when I am clicking the submit button, the url goes like given above. what is this #wpcf7-f606-o1? Can anyone tell me?
It's an anchor. It makes the browser jump directly to the contact form after the page is loaded. This is useful when you have the form below a long page, so the user doesn't have to scroll down to see potential error messages regarding the form.
Your submit button might be an anchor tag with href="#wpcf7-f606-o1", that is why your url goes like given above.
EDIT
If your form looks like
<form action="/contact-us/#wpcf7-f606-o1" method="get" class="wpcf7-form" >
Then wpcf7-f606-o1 is your form's reference id.
If you don't want this in your url then change the method from get to post .
It's a unit-tag of the form. Actually, from the contact-form.php of the plugin, you may find the get_unit_tag function that generate the tag.
You may get rid of the tag in the url by customize the plugin, but if you are not familiar with PHP or not aware of what you are doing, I suggest you not do that.
This could be a configuration issue. Please check whether you have called wp_head() and wp_footer() in header.php and footer.php respectively.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
Our current application is working fine but when you try to misbehave like we found out that When login with same user in multiple tab with different organization(there is a organization dropdown in the master page which sets the cookie whenever it is changed.)
in tab one it is org 1 and tab 2 it is org2 , cookie has the later org 2 in it but when we go back in tab1(which had org1) and save the record org 2 will be saved with the record
So can some one share some sort of a checklist with us which address these types of problem.
Unfortunately there is not much you could do about this. Browsers share cookies between tabs. And forms authentication uses cookies to track users. That's the same behavior you will get with other sites as well such as gmail for example.
you can add hidden field with data for recognize each view.
you store all data in server side such as session,cache,Database and serve "unique" view
I hope you'll find an elegant solution to this problem, but AFAK one instance of browser simply shares one identity.
To deal with this situation we use HIDDEN on master page, that is a part of main form. Its value is randomly generated when first page loads. Later, the value is kept between requests. Session values are stored with HashTable key of hidden value.
2 more hacks needed to get it work.
Response.Redirect is done with simple form that uses POST method to pass HIDDEN value to the new page.
All hrefs clicked with left button also posting HIDDEN value (if user uses 'Open in new TAB/Window' direct redirect without post simply creates new HIDDEN value - new subsession.)
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
Javascript?
Metatag refresh?
Response.Redirect (to self)
Server.Transfer (to self)
Ajax update panel?
Let's look at the options:
Javascript?
That works fine, as long as the user haven't disabled it.
Metatag refresh?
A deprecated method in favour of the Javascript method. However, you could use it as a backup if the user has disabled Javascript.
Response.Redirect (to self)
That doesn't work, as the browser would not show anyhing useful for the user while redirecting. Also, the browser will stop requesting after a certain number of redirects to protect the user from infinite redirects.
Server.Transfer (to self)
Doesn't work either, as the code on the server would just loop without sending anything to the browser. The effect is the same as just having a loop in your code.
Ajax update panel?
Works fine, as long as the user haven't disabled Javascript. It's basically the same as the first option, only the Javascript does the request itself instead of letting the browser do the request.
If you can report any kind of progress to the user, I tend to run with an asxh and a variation of a forever frame. Add a bit of jQuery UI Dialog and jQuery UI Progress Bar and you've got a shiny way of holding the users attention while you do the heavy lifting on the server.
I gave some example code at 874204 that demonstrates the technique.
If you can't give progress to the user, I tend to still use UI dialog and pop a "please wait, processing..." message with a web two dot oh compliant spinny gif.
Check out this article on Asynchronous Pages. Here's also an example from CodeProject that includes Asynchronous pages and META-REFRESH.
You can find a sample implementation of this kind of functionality in the Beer House Starter Kit- http://www.asp.net/Downloads/starter-kits/the-beer-house/.
The pages SendingNewsLetter.aspx and SendNewsLetter.aspx will be useful to you. This might be overkill for your need though- it even shows progress of the long running operation.
What about using the AJAX WebModalAnchor to pop up a window with a cancel button?
Hope this helps,
Bill
I'd recommend using Ajax and displaying an UpdateProgress so the user knows it's still churning away.