[Change] Wap station automatic transmission Sessionid URL

2010-07-29  来源:本站原创  分类:PHP  人气:165 

Wap site user login session dealing with the problem than the normal html web page of some trouble. Because many mobile phones do not support cookie. The default is by sessionid cookie to store and transfer.

Problem solving session wap station can use the URL pass sessionid methods:

As long as the top of the php file you can add the following lines:

<? Php
ini_set ("arg_separator.output ","&"); / / URL parameters used to generate the segmentation symbol, the default is" & "
ini_set ("session.use_cookies", 0); / / whether to use cookies
ini_set ("session.use_trans_sid", 1); / / automatic pass sessionid
ini_set ("session.name", "sid"); / / set the name of passing session
ini_set ("url_rewriter.tags", "a = href, go = href, area = href, frame = src, input = src, form =, fieldset ="); / / label re-definition of

session_start ();

?>

相关文章
  • [Change] Wap station automatic transmission Sessionid URL 2010-07-29

    Wap site user login session dealing with the problem than the normal html web page of some trouble. Because many mobile phones do not support cookie. The default is by sessionid cookie to store and transfer. Problem solving session wap station can us

  • Chinese garbled transmission ajax URL 2010-12-14

    java.io.CharConversionException: isHexDigit. ajax to do this when it came to pass parameters exception to find a solution online, the original I have not found that the error is brought escape. Solution to the issue of the following Also thanks for t

  • Chinese garbled transmission parameters URL 2010-09-11

    Add in the TOMCAT URIEncoding = "GBK". <Connector port = "8000" protocol = "HTTP/1.1" connectionTimeout = "20000" redirectPort = "8443" URIEncoding = "GBK" />

  • Shanghai Unicom GPRS WAP site testing, and mainstream adaptation conditions (change) 2010-03-10

    Original】 【Unicom launched a free trial GPRS in the time bought a 130 card, launched GPRS, so test Last month, 10 per package 100M opened the package, does not distinguish UNIWAP and UNINET (and moving cmwap, cmnet similar Unicom also made a distinct

  • phpmaos fiction collection system was 2010.6.11 novel system functions to increase mobile phone wap 2010-06-11

    phpmaos fiction collection system was 2010.6.11 novel system functions to increase mobile phone wap Updated packages have been sent to you the official version of the user, free version of the system also features built-in mobile phone wap novel syst

  • Multi-protocol-based messaging system profile (change) 2010-08-24

    Reproduced based on multi-protocol messaging mechanisms Profile (change) Collection At present, it is commonly used to transfer data agreement http, https, ftp, rmi, soap, tcp, ejb, jms, file and so on. Soa architecture based on ideas of enterprise a

  • [Change] Android 1.5 of the APN settings and the Internet address 2010-08-28

    Net wap and mobile Internet is divided into two ways, using the net phone will be directly connected to the Internet, and use the wap would be more than the middle of a proxy gateway, mobile Unicom are 10.0.0.172, port 80. The writing and networking-

  • [Reprint] VoIP Introduction basic transmission 2010-11-20

    [Reproduced] http://blog.21ic.com/user1/5585/archives/2009/56684.html Date of xgywinner 2009-3-18 11:56:00 Source: nerd Developer Network Voice communication via the Internet is a very complicated system, its application is very broad, so the technol

  • php regular match the url address and automatically add a link 2010-05-23

    php is the realization, whether the automatic matching string url address is automatically added if link testing can be used. Code: <?php function autolink($foo) { $foo = eregi_replace('(((f|ht){1}tp://)[[email protected]:%_\+.~#?&//=]+)', '<a href=&q

  • WAP site design xhtml mp 2010-09-13

    1: XHTML MP's syntax rules we know, we usually use the computer to access the site's pages are built using html. Similarly, site is now WAP 2.0 XHTML MP Construction for access to handheld devices, such as mobile phones, PDA and so on. XHTML MP is a

  • Extreme Transaction Processing Mode: Write-behind cache (change) 2010-09-20

    Original: http://www.infoq.com/cn/articles/write-behind-caching Introduction Applications often use data caching to improve performance, especially for those large number of applications especially in read-only transaction applications. When the data

  • Trend Analysis of the independent WAP dating site 2010-12-10

    Start from the Internet, dating sites have been facing a problem of profitability, in addition to marry me now claims to have millions of their monthly income, not a few dating sites say their profits, and now friends of the fire also burned the wire

  • FTP script to automatically send compressed transmission 2011-04-22

    Application Background: Hand in the large file transfer between hosts is very time-consuming, the actual project file needs to be done in 20G transmission processing. Speed ​​case was roughly estimated to be overtime. : ( Ideas: After writing the scr

  • URL重定向中内部重定向和外部重定向的区别 2015-03-27

    简单而言就是: 内部重定向(重写)发生在server内部,client不知情,即浏览器上显示的是访问a.html但实际上收到的却是b.php: 外部重定向则是server端通知client端需要更改URL,并舍弃之前的request.client按要求发送第二个request,server发送对应的文件.如,client第一次发送request要求访问a.html,server告知其这个url已经更改成b.php了,于是client发送request要求访问b.php,server发送b.php

  • The session fully PHP5 articles 2011-06-01

    session cookie and what's the use? Common usage, such as members of some sites to download things to be logged. http protocol itself is stateless, and no way of knowing whether the customer has logged in, how should we do? cookie and the session can

  • java Origin 2010-03-29

    Chapter 1 Java computer language for the origin of the development history of the industry is generally believed that: B languages led to the birth of the C language, C language evolved out of a C + + language, C + + language will give way to Java. T

  • The difference between JSP forward and redirect 2010-03-17

    1.RequestDispatcher.forward () - forward porting role in the server, when using the forward () when, Servlet engine passed from the current HTTP request to another Servlet or JSP Servlet, JSP or regular HTML files, ie your form submitted to the a.jsp

  • Research Report on Oracle Advanced Replication of data 2010-04-14

    Research Report on Oracle replication data Kwan Chan Time :2010-2-9 Using the scene description: Have a database server running, in order not to affect the usage of the database, a station needs a new database server Kai, the original database data a

  • JSP page Jump method Xiangjie 2010-04-20

    1. RequestDispatcher.forward () Porting role in the server, when using the forward () when, Servlet engine passed from the current HTTP request to another Servlet or JSP Servlet, JSP or regular HTML files, but also the form that you submit to a.jsp,

  • Five ways jsp page Jump 2010-05-07

    1.RequestDispatcher.forward () Porting role in the server, when using the forward () when, Servlet engine passed from the current HTTP request to another Servlet or JSP Servlet, JSP or regular HTML files, but also the form that you submit to a.jsp, i