Help - Search - Members - Calendar
Full Version: Sessionid in http headers
Hostony Board > General Support > PHP/MySQL
favian
Hi. Can anyone tell me how I can use PHP to write sessionid information into http headers in order to keep track of viewers browsing a website without using using cookies? Thanks
Vanya
Here is some info on "header" function:
http://php.net/manual/en/function.header.php
favian
Thanks. Is it possible to use hidden inputs in php or wml to POST sessionid into the http headers so as to track viewers through a wap site (wml format)?
Stanly
Try to search at php.net
Niakie
Try something like this:

CODE
<form method="get">
<input type="hidden" name="PHPSESSID" value="<?php echo $PHPSESSID; ?>">

... rest of form ...
</form>


I'm not sure that will work, but I don't see why it shouldn't...
favian
Thanks all. I'd like to implement this using the POST method for wap pages but I don't think the <form> tag is implemented in wml 1.2. Any suggestions?
Niakie
I'm not sure of WML myself, but you might try and find your answer at these sites I just pulled up:

http://www.phpbuilder.com/columns/mike20010118.php3
http://www.zend.com/zend/tut/wap.php
http://www.phpdeveloper.org/index/2051
http://www.developer.com/lang/php/article.php/1449061

Hope one of these can help find your answer!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2024 Invision Power Services, Inc.
IPS Driver Error

IPS Driver Error

There appears to be an error with the database.
You can try to refresh the page by clicking here