Current location: Hot Scripts Forums » Programming Languages » Visual Basic » How to use Session Variable for page security for an application


How to use Session Variable for page security for an application

Reply
  #1 (permalink)  
Old 02-23-06, 03:03 AM
nishadogra nishadogra is offline
Newbie Coder
 
Join Date: Feb 2006
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Post How to use Session Variable for page security for an application

Pls help me....

I am using the session variable to make the integrity of the application but there is some very minor problem which i m not getting pls help me.......to find out......


the code i am using on header of every window is
<script type="text/vb">
Session('sesname')=Request.form("loginname");
Session('sespassword')=Request.form("password");
if Session('sesname')=" " and Session('sespassword')=" " then
Response.Redirect("index.asp")
</script>
<html><head>...............like...

pls suggest where i m doing mistake.....

Nisha Dogra
Reply With Quote
  #2 (permalink)  
Old 02-24-06, 11:03 AM
Christian's Avatar
Christian Christian is offline
Community VIP
 
Join Date: Mar 2005
Location: ProgrammingTalk
Posts: 2,449
Thanks: 0
Thanked 6 Times in 5 Posts
## Thread moved to the Correct Forum ##
__________________
:: ImperialBB :: New version in the works! :: http://www.imperialbb.com ::

:: Have a question about the board? The Rules? An Infraction/Warning? :: Contact Form ::
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
session security opinion requested rjwebgraphix PHP 1 01-13-06 03:05 PM
FYI: Shout goes out over PHP security bugs nugensoftware PHP 0 11-01-05 11:43 PM
help for using session variable in asp.net rajan ASP.NET 0 07-27-05 01:39 AM
Not able to retrieve value of application variable from global.asa gaganpandey ASP 1 07-05-05 02:11 PM
Session Variable ecohen ASP 3 08-01-04 08:59 PM


All times are GMT -5. The time now is 01:15 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.