Ask a Question related to Dreamweaver AppDev, Design and Development.
-
Herrie|2 #1
ASP (VB) Login + Additional URL parameter?
I have a basic ASP VB login page from DW MX, works great. Eventhough on the
login page I also got a dropdown menu with language selection. The selected
value should be passed on to the "Logon Successfull"-page too, so the user gets
the "Logon Successfull"-page in his/her own language :)
So far I've looked around for possible extensions but weren't able to find any
so far. I believe it should be do-able in some way with Session("Lang") =
Request.Form("Lang") or Lang = Request.Form("Lang"), but I haven't been able to
make it work in order to pass it onto the "Login Successfull"-page.
Anyone got an idea?
Herrie|2 Guest
-
#40486 [NEW]: dechex additional parameter
From: john dot meskes at senecac dot on dot ca Operating system: PHP version: 5.2.1 PHP Bug Type: Feature/Change Request Bug... -
user login with URL parameter
This syntax fails: $MM_redirectLoginSuccess = "displaylist.php?id=<?php echo $row_userlist; ?>"; This simplified syntax works, but of course is... -
Date Parameter For Saved Parameter Queries
Hi again, I finally got to using saved parameter queries in my application (a big thank you to Bob Barrows for helping me with this). Currently... -
[PHP-DEV] Adding parameter to ocisavelob() && $lob->save() and additional function to OCI8 extension
If you're interrested in writing the patch yourself (and this sounds like a rather minor one), your best bet is to just write it and submit it for... -
[PHP-DEV] Adding parameter to ocisavelob() && $lob->save() and additional
Hi, all I want to propose to add an additional parameter to ocisavelob() && $lob->save();, which will allow to tell how much of LOB to read from... -
Manuel Socarras #2
Re: ASP (VB) Login + Additional URL parameter?
i'm assuming you're using the DW login behavior. as it creates a
recursive page (a page that calls itself) you can pass the selected
language to the "Login successful page" as a URL parameter. find the
MM_redirectLoginSuccess var and add:
MM_redirectLoginSuccess="Login_successful_page.asp ?lang=" &
Request.Form("language")
…
<SELECT name="language">
<OPTION value="english" selected>English</OPTION>
<OPTION value="spanish">Spanish</OPTION>
</SELECT>
then you'll be able to recover it in the "Login successful page" with a
Request.QueryString("lang")
another option could be to store the selected language in a session var
to have it accessible in all pages
HTH,
Manuel
Herrie|2 wrote:
> I have a basic ASP VB login page from DW MX, works great. Eventhough on the
> login page I also got a dropdown menu with language selection. The selected
> value should be passed on to the "Logon Successfull"-page too, so the user gets
> the "Logon Successfull"-page in his/her own language :)
>
> So far I've looked around for possible extensions but weren't able to find any
> so far. I believe it should be do-able in some way with Session("Lang") =
> Request.Form("Lang") or Lang = Request.Form("Lang"), but I haven't been able to
> make it work in order to pass it onto the "Login Successfull"-page.
>
> Anyone got an idea?
>Manuel Socarras Guest
-
CarlGrint #3
Re: ASP (VB) Login + Additional URL parameter?
A Session would probably be the best way to go or you can pass the Language
identifer in every page.
You can set additional Sessions in the Login behaviour, and as you have a form
drop down in your login form, then this is simple enough.
Have a look at my tutorial on setting additional sessions in the Login
behaviour
([url]http://www.cgw3.co.uk/tutorials/tutorial.asp?TutorialID=37&CategoryID=3[/url])
although it uses information from the database rather then the form you are
using, you will be able to see how it works and use it for your project.
Originally posted by: Herrie|2
I have a basic ASP VB login page from DW MX, works great. Eventhough on the
login page I also got a dropdown menu with language selection. The selected
value should be passed on to the "Logon Successfull"-page too, so the user gets
the "Logon Successfull"-page in his/her own language :)
So far I've looked around for possible extensions but weren't able to find any
so far. I believe it should be do-able in some way with Session("Lang") =
Request.Form("Lang") or Lang = Request.Form("Lang"), but I haven't been able to
make it work in order to pass it onto the "Login Successfull"-page.
Anyone got an idea?
CarlGrint Guest



Reply With Quote

