FRIHOSTFORUMSSEARCHFAQTOSBLOGSCOMPETITIONS
You are invited to Log in or Register a free Frihost Account!


ASP - GuestBook Homework





halilibo
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 Smile ).
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.
Faraz
This page might help: http://www.w3schools.com/ASP/asp_sessions.asp
albuferque
Also this could help:

http://www.planet-source-code.com/vb/scripts/ShowCode.asp?lngWId=4&txtCodeId=7226
Related topics
If you Support asp that is well
I'd love ASP.NET support
ASP?
Alguie conoce un buen tutorial de ASP
Internet and Homework
problem on advance guestbook
Have you got any asp site?
Asp + Tutorials
ASP +PHP+MySQL Tutorials
ASP content management system
the simple guestbook
Viper Guestbook
Computer Graphics Homework. What do you think?
Homework, Pain, and Bad Habits -- Help
Reply to topic    Frihost Forum Index -> Scripting -> Others

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.