programmer group

Ajax cross domain session and cross domain access

1、 About Ajax cross domain requests, using jsonp is always unsuccessful. Although data can be returned, an error is reported at error. The reason is that the returned data format is not jsonp. But the request constructed with C # can return data. 2、 The third party’s Ajax request certainly can’t get your current user’s session. The task is like this. Alipay’s page returns to the notify page (the page is...

programmer group

The use of session and scope in JSP

Almost all web development languages support session function, and servlet is no exception. The session function in servlet / JSP is realized by the concept of scope. There are four kinds of scopes page Valid on current page (only in JSP) request Valid in current request session Valid in current session application Effective in all applications Don’t you understand? Because page is only used in JSP, only three other...