|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Session ID - Java to VB
Quick question... how do you write the following session id check:
if (Session('pu') != 'yes') { Response.Redirect('default.asp'); } |
|
#2
|
|||
|
|||
|
The first thing is you need to be using asp code. The session object is provided by asp, not vb or vbs.
Code:
If Session("pu") = "yes" Then
response.redirect "default.asp"
End If
This is very basic vb syntax, you should review the online vb documentation and some tutorials to understand the tools you're trying to use.
__________________
====== Doug G ====== I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain |
![]() |
| Viewing: ASP Free Forums > Programming > Visual Basic Programming > Session ID - Java to VB |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|