Hi,
my sister has a homework about wiritng a GuestBook. And she asked me to help her. But i don't know enough for writing a guestbook.
It should have user logins, admin page, message administration (may be mail to messagers
).
We did some of it. But have to use SESSION to track if the user is Admin or not in all pages, and do things according to the user privilages.
searched for SESSION in ASP, but could not understand how it works.
The code is:
and the variables i write on SESSION goes somewhere else i think, i can not control their values. what must i do.
Thanks for your help.
my sister has a homework about wiritng a GuestBook. And she asked me to help her. But i don't know enough for writing a guestbook.
It should have user logins, admin page, message administration (may be mail to messagers
We did some of it. But have to use SESSION to track if the user is Admin or not in all pages, and do things according to the user privilages.
searched for SESSION in ASP, but could not understand how it works.
- First of all how can i start SESSION. in PHP u write session.start() and it starts. but in asp i can not find that.
- Second, i can not handle te variables i write on SESSION. it gives me an error.
The error is:
| Quote: |
| Script error detected at line 47.
Source line: =Session("cevrimici") Description: Deyim gerekli |
The code is:
| Quote: |
| <%
'SESSION daki kullanıcı bilgisine üst menü düzenleniyor. Response.Write(Session("cevrimici")) 'LINE 47 is here if Session("cevrimici")="false" then %> |
and the variables i write on SESSION goes somewhere else i think, i can not control their values. what must i do.
Thanks for your help.
