Hi all once again,

Thanks for all,

your suggestions made me to know about sessions and about the functions 
needed to handle sessions.

but I have some doubts plz clarify those things

what for the session Id is ?.
what is SID ? I saw this in some example codings but it is not working in my 
machine !

The coding which is using SID & failed in my system is as follows
-------- coding start --------------
<?php
if (!session_is_registered('count')) {
session_register('count');
$count = 1;
} else {
$count++;
}
?>

<p>
Hello visitor, you have seen this page <?php echo $count; ?> times.
</p>

<p>
To continue, <a href="nextpage.php?<?php echo strip_tags(SID); ?>">click
here</a>.
</p>
---------------- end -----------------
That echo statement is not working and my count also not gets increment.

On 9/6/05, viraj <[EMAIL PROTECTED]> wrote:
> 
> another good one, but for intermediates
> 
> http://www.zend.com/zend/tut/session.php
> 
> ~viraj.
> 
> 
> On 9/6/05, Robert Graham <[EMAIL PROTECTED]> wrote:
> > Nahalingam Kanakavel wrote:
> >
> > >Hi all,
> > >
> > >I am new to PHP.
> > >I know some thing about SESSIONS in PHP, I am in need of your 
> suggestions.
> > >how to use sessions ?
> > >what is an efficient way to handle session_id ? like that.
> > >How efficiently we can use session concept in our web site development 
> ?
> > >how it is helpful.
> > >
> > >thanks in advance.
> > >
> > >
> > >
> > Good day
> >
> > Have a look at the following:
> > http://www.sitepoint.com/article/users-php-sessions-mysql
> >
> > Regards
> > Robert
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
> 



-- 
with regds,
Nahalingam.

Reply via email to